commit:     29f0891c1f7305bd0f96d6287f582b01aab8a93e
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 24 04:21:28 2015 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 24 04:21:28 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/ag.git;a=commit;h=29f0891c

Incremental was not doing new messages!.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

---
 ag | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ag b/ag
index 8b08cc2..5375461 100755
--- a/ag
+++ b/ag
@@ -183,7 +183,7 @@ end
 
 def do_incremental
   abort "Wrong argument type: #{$options.argmode.to_s}" unless 
$options.argmode == :dir
-  messages = $maildir.list(:cur)
+  messages = $maildir.list(:new)
 
   opts = {
     :in_processes => Ag::Utils.proc_count,

Reply via email to