combine-diff.c: type sanity
[gitweb.git] / git-rebase.sh
index 9ad1c44d4816f8c4f52eddc525bc24cd6bfe92d2..0ac085e14aa5d11ece6a537008578cc7686680ba 100755 (executable)
@@ -179,7 +179,7 @@ do
        -s|--s|--st|--str|--stra|--strat|--strate|--strateg|--strategy)
                case "$#,$1" in
                *,*=*)
-                       strategy=`expr "$1" : '-[^=]*=\(.*\)'` ;;
+                       strategy=`expr "z$1" : 'z-[^=]*=\(.*\)'` ;;
                1,*)
                        usage ;;
                *)