diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2007-10-31 03:20:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-30 21:27:15 -0700 |
commit | 3524b282dabd254fc50b186e35ea5c6f612aeb46 (patch) | |
tree | bd9328753e12b118f66b82eb77d0b6d283731b77 | |
parent | 07b45f8c1754a13bca67f70b600bf51ba33cf98d (diff) | |
download | git-3524b282dabd254fc50b186e35ea5c6f612aeb46.tar.gz git-3524b282dabd254fc50b186e35ea5c6f612aeb46.tar.xz |
Fix --strategy parsing in git-rebase--interactive.sh
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>
-rwxr-xr-x | git-rebase--interactive.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh index 50b79ff8f..ebc67e515 100755 --- a/git-rebase--interactive.sh +++ b/git-rebase--interactive.sh @@ -357,7 +357,6 @@ do output git reset --hard && do_rest ;; -s|--strategy) - shift case "$#,$1" in *,*=*) STRATEGY="-s `expr "z$1" : 'z-[^=]*=\(.*\)'`" ;; |