git-rebase: fix -C option
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 7 Sep 2007 14:20:51 +0000 (10:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 8 Sep 2007 04:02:11 +0000 (21:02 -0700)
The extra shift here causes failure to parse any commandline including
the -C option.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase.sh

index 52c686fc8c51564d303ddea411dc09265e1222f2..c9942f24009bd01ee0fee8990f64e64d9e43364c 100755 (executable)
@@ -221,7 +221,6 @@ do
                ;;
        -C*)
                git_am_opt="$git_am_opt $1"
-               shift
                ;;
        -*)
                usage