Skip to content

Commit f772c34

Browse files
Martin von Zweigbergkgitster
authored andcommitted
rebase -X: do not clobber strategy
If any strategy options are passed to -X, the strategy will always be set to 'recursive'. According to the documentation, it should default to 'recursive' if it is not set, but it should be possible to set it to other values. This fixes a regression introduced in v1.7.3-rc0~67^2 (2010-07-29). Signed-off-by: Martin von Zweigbergk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 60aa9cf commit f772c34

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

git-rebase.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,6 @@ do
311311
esac
312312
strategy_opts="$strategy_opts $(git rev-parse --sq-quote "--$newopt")"
313313
do_merge=t
314-
if test -n "$strategy"
315-
then
316-
strategy=recursive
317-
fi
318314
;;
319315
-s=*|--s=*|--st=*|--str=*|--stra=*|--strat=*|--strate=*|\
320316
--strateg=*|--strategy=*|\

0 commit comments

Comments
 (0)