aboutsummaryrefslogtreecommitdiff
path: root/t/t9107-git-svn-migrate.sh
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-06-29 08:21:27 +0200
committerJunio C Hamano <gitster@pobox.com>2016-06-29 09:51:00 -0700
commit33ba9c648b6753a4184e53ffb89f0a924f9f7b7e (patch)
tree5221e3c13db0154df779a89074b98034cb173bde /t/t9107-git-svn-migrate.sh
parente46579643d56162299b1756b70d418005351b256 (diff)
downloadgit-33ba9c648b6753a4184e53ffb89f0a924f9f7b7e.tar.gz
git-33ba9c648b6753a4184e53ffb89f0a924f9f7b7e.tar.xz
rebase -i: restore autostash on abort
When we abort an interactive rebase we do so by calling `die_abort`, which cleans up after us by removing the rebase state directory. If the user has requested to use the autostash feature, though, the state directory may also contain a reference to the autostash, which will now be deleted. Fix the issue by trying to re-apply the autostash in `die_abort`. This will also handle the case where the autostash does not apply cleanly anymore by recording it in a user-visible stash. Reported-by: Daniel Hahler <git@thequod.de> Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9107-git-svn-migrate.sh')
0 files changed, 0 insertions, 0 deletions