difftool: fix argument handling in subdirs
[gitweb.git] / git-rebase--interactive.sh
index 470413b9f9b603b8f9fe8718607bf66f6c794cdf..6e96abcc3c6b942eed3e8c522f089d823b02a1fa 100644 (file)
@@ -82,6 +82,7 @@ rewritten_pending="$state_dir"/rewritten-pending
 cr=$(printf "\015")
 
 strategy_args=${strategy:+--strategy=$strategy}
+test -n "$strategy_opts" &&
 eval '
        for strategy_opt in '"$strategy_opts"'
        do
@@ -191,7 +192,6 @@ make_patch () {
 die_with_patch () {
        echo "$1" > "$state_dir"/stopped-sha
        make_patch "$1"
-       git rerere
        die "$2"
 }