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>
Björn Steinbrink committed
Oct 31, 2007 at 03:20 UTC
3524b282dabd254fc50b186e35ea5c6f612aeb46
1 file changed
-1
git-rebase--interactive.sh
-1
@@ -357,7 +357,6 @@ do
357
output git reset --hard && do_rest
358
;;
359
-s|--strategy)
360
- shift
360
case "$#,$1" in
361
*,*=*)
362
STRATEGY="-s `expr "z$1" : 'z-[^=]*=\(.*\)'`" ;;