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:
Junio C Hamano 2016-05-17 14:38:35 -07:00
Родитель 6bfb7de89e 8e98b35f87
Коммит fd704b16f1
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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