Merge branch 'ps/rebase-i-auto-unstash-upon-abort' into maint

"git rebase -i --autostash" did not restore the auto-stashed change
when the operation was aborted.

* ps/rebase-i-auto-unstash-upon-abort:
  rebase -i: restore autostash on abort
This commit is contained in:
Junio C Hamano
2016-07-28 11:25:52 -07:00
2 changed files with 32 additions and 0 deletions

View File

@ -212,6 +212,7 @@ exit_with_patch () {
}
die_abort () {
apply_autostash
rm -rf "$state_dir"
die "$1"
}