Merge branch 'jk/rebase-interative-eval-fix'
Portability enhancement for "rebase -i" to help platforms whose shell does not like "for i in <empty>" (which is not POSIX-kosher). * jk/rebase-interative-eval-fix: rebase--interactive: avoid empty list in shell for-loop
This commit is contained in:
commit
fd704b16f1
@ -82,6 +82,7 @@ rewritten_pending="$state_dir"/rewritten-pending
|
|||||||
cr=$(printf "\015")
|
cr=$(printf "\015")
|
||||||
|
|
||||||
strategy_args=${strategy:+--strategy=$strategy}
|
strategy_args=${strategy:+--strategy=$strategy}
|
||||||
|
test -n "$strategy_opts" &&
|
||||||
eval '
|
eval '
|
||||||
for strategy_opt in '"$strategy_opts"'
|
for strategy_opt in '"$strategy_opts"'
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user