]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Fix --strategy parsing in git-rebase--interactive.sh
authorBjörn Steinbrink <B.Steinbrink@gmx.de>
Wed, 31 Oct 2007 02:20:30 +0000 (03:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Oct 2007 04:27:15 +0000 (21:27 -0700)
For the --strategy/-s option, git-rebase--interactive.sh dropped the
parameter which it was trying to parse.

Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh

index 50b79ff8ff289f43ca92738656e37bc2545c5bc6..ebc67e515de15f817a9c7f036e0c5069dd8f32ec 100755 (executable)
@@ -357,7 +357,6 @@ do
                output git reset --hard && do_rest
                ;;
        -s|--strategy)
-               shift
                case "$#,$1" in
                *,*=*)
                        STRATEGY="-s `expr "z$1" : 'z-[^=]*=\(.*\)'`" ;;