From: Björn Steinbrink Date: Wed, 31 Oct 2007 02:20:30 +0000 (+0100) Subject: Fix --strategy parsing in git-rebase--interactive.sh X-Git-Tag: v1.5.3.5~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3524b282dabd254fc50b186e35ea5c6f612aeb46;p=git.git 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 Acked-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- 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-[^=]*=\(.*\)'`" ;;