diff options
author | 2015-02-23 16:08:08 +0100 | |
---|---|---|
committer | 2015-02-23 16:08:08 +0100 | |
commit | c85644c7e9931d0b872bd1c8768aeb08cb237961 (patch) | |
tree | 47abb9099b769fe47000cafe27dd2ec2f4f849a3 | |
parent | use more threads! (diff) | |
download | backend-c85644c7e9931d0b872bd1c8768aeb08cb237961.tar.gz backend-c85644c7e9931d0b872bd1c8768aeb08cb237961.tar.bz2 backend-c85644c7e9931d0b872bd1c8768aeb08cb237961.zip |
Don't store the flags in raw_filename.
-rwxr-xr-x | ag | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -119,7 +119,7 @@ def do_full mail = maildir_message.data begin - Ag::Storage.store($options.name, mail, maildir_message.filename) + Ag::Storage.store($options.name, mail, maildir_message.unique_name) rescue => e $stderr.puts "Cannot save message #{mail.message_id}: #{e.message}" next @@ -136,7 +136,7 @@ def do_incremental mail = maildir_message.data begin - Ag::Storage.store($options.name, mail, maildir_message.filename) + Ag::Storage.store($options.name, mail, maildir_message.unique_name) maildir_message.process unless $options.readonly rescue => e $stderr.puts "Cannot save message #{mail.message_id} (file #{maildir_message.filename}): #{e.message}" if $options.debug |