Merge branch 'vr/rebase-autosquash-does-not-imply-i'

"git rebase -p" used to pay attention to rebase.autosquash which was
wrong.  "git rebase -p -i" should, but "git rebase -p" by itself
should not.

By Vincent van Ravesteijn
* vr/rebase-autosquash-does-not-imply-i:
  Do not autosquash in case of an implied interactive rebase
This commit is contained in:
Junio C Hamano 2012-06-01 13:28:01 -07:00
Родитель 7a824d3c46 8a6dae108e
Коммит 4336b53c66
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -167,6 +167,7 @@ run_specific_rebase () {
if [ "$interactive_rebase" = implied ]; then
GIT_EDITOR=:
export GIT_EDITOR
autosquash=
fi
. git-rebase--$type
}