sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit f2e3351e55e177818eab5c2e2099548b638111f4
parent aa42404f63155b29fb148b10c72e222ad072efe0
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Thu, 24 Jan 2008 20:42:37 -0800

sup-sync: don't save the index and sources if an error occurred

If the error was caused by a particular message, saving the source file
will move the pointer past the message, so it will never get added.

Diffstat:
M bin/sup-sync | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sup-sync b/bin/sup-sync
@@ -238,7 +238,7 @@ rescue Exception => e
   File.open("sup-exception-log.txt", "w") { |f| f.puts e.backtrace }
   raise
 ensure
-  index.save
+  #index.save # actually, don't want to save!
   Redwood::finish
   index.unlock
 end