t3404: todo list with commented-out commands only aborts
[gitweb.git] / git-rebase.sh
index 19bdebb48025e236c596d554768012951d348632..f3b10c7f62d1aaed445bf2b08ff926f253a49925 100755 (executable)
@@ -328,7 +328,7 @@ do
                do_merge=t
                ;;
        --strategy-option=*)
-               strategy_opts="$strategy_opts $(git rev-parse --sq-quote "--${1#--strategy-option=}")"
+               strategy_opts="$strategy_opts $(git rev-parse --sq-quote "--${1#--strategy-option=}" | sed -e s/^.//)"
                do_merge=t
                test -z "$strategy" && strategy=recursive
                ;;