git-applymbox: fix '-c'.
authorJunio C Hamano <junkio@cox.net>
Sun, 4 Sep 2005 17:37:07 +0000 (10:37 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Sep 2005 17:37:07 +0000 (10:37 -0700)
Earlier round b50abe8843006e9856c633b5abeb4eab53b46629 broke it
by carelessly rewriting the main loop.

Signed-off-by: Junio C Hamano <junkio@cox.net>
tools/git-applymbox

index 2b32dab..e58bb21 100755 (executable)
@@ -68,7 +68,8 @@ do
     i="$1" 
     case "$resume,$continue" in
     f,$i)      resume=t;;
-    f,*)       continue;;
+    f,*)       shift
+               continue;;
     *)
            git-mailinfo $keep_subject $utf8 \
                .dotest/msg .dotest/patch <$i >.dotest/info || exit 1