Re: [RFC PATCH] am: do not do any reset on --abort
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- May 25, 2009, 15:54 UTC
- Message-ID
- <32541b130905250854v981277oe093ee4990726a2a@mail.gmail.com>
- In-Reply-To
- <4A1A8C6C.5020009@viscovery.net>
On Mon, May 25, 2009 at 8:17 AM, Johannes Sixt <j.sixt@viscovery.net> wrote:
> $ git am --abort > OUTCH! other-branch was reset!
If *that's* your problem, then presumably you could avoid it just by checking whether the right branch corresponds to HEAD before doing a reset.
Have fun,
Avery