git-mailsplit: with maildirs not only process cur/, but also new/
commitd50a4bc4e91f03cecc337e5e95dc4c0e0a4054f0
authorGerrit Pape <pape@smarden.org>
Tue, 6 Nov 2007 08:54:18 +0000 (6 08:54 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Nov 2007 09:08:14 +0000 (8 01:08 -0800)
treee609bf3d0701c6dba332de92344a9e768f3e751a
parent6d0618a820a20846d60b665897fcce600f452eec
git-mailsplit: with maildirs not only process cur/, but also new/

When saving patches to a maildir with e.g. mutt, the files are put into
the new/ subdirectory of the maildir, not cur/.  This makes git-am state
"Nothing to do.".  This patch lets git-mailsplit additional check new/
after reading cur/.

This was reported by Joey Hess through
 http://bugs.debian.org/447396

Signed-off-by: Gerrit Pape <pape@smarden.org>
Acked-by: Jeff King <peff@peff.net>
Acked-by: Alex Riesen <raa.lkml@gmail.com>
Acked-by: Fernando J. Pereda <ferdy@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-mailsplit.c