Re: bug: autostash is lost after aborted rebase
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 20, 2014, 17:34 UTC
- Message-ID
- <xmqqegzo1hhv.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <vpqlhtym8lp.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 16 quoted lines
> [ Cc-ing Ramkumar ] > > Karen Etheridge <ether@cpan.org> writes: > >> scenario: >> - edit some tracked files; do not add them to the index >> - "git config rebase.autostash true" >> - "git rebase -i HEAD~3" (an autostash will be created) >> - delete the entire buffer and save/exit the editor - this will abort the >> rebase >> >> poof, the autostash is gone (it is not reapplied) -- it must be explicitly >> applied again via the SHA that was printed earlier. > > Indeed. Confirmed, even with pu (I thought I remembered seeing a fix on > the list, but I must have mixed up with something else).
Thanks. I see Ram's patch to address this on the list. Will pick it up and queue for post-release, as this is a fairly old breakage dating as far back as v1.8.4, if I am not mistaken.