From: Avery Pennarun Date: Mon, 25 May 2009 15:54:36 GMT Subject: Re: [RFC PATCH] am: do not do any reset on --abort Message-ID: <32541b130905250854v981277oe093ee4990726a2a@mail.gmail.com> In-Reply-To: <4A1A8C6C.5020009@viscovery.net> On Mon, May 25, 2009 at 8:17 AM, Johannes Sixt 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