Re: [PATCH] Fix git reset --abort not restoring the right commit under some conditions
- From
Mike Hommey <mh@glandium.org>
- Date
- Mar 1, 2008, 11:11 UTC
- Message-ID
- <20080301111156.GA2933@glandium.org>
- In-Reply-To
- <1204367534-28204-1-git-send-email-mh@glandium.org>
On Sat, Mar 01, 2008 at 11:32:14AM +0100, Mike Hommey wrote:
Show 5 quoted lines
> Previously, --abort would end by git resetting to ORIG_HEAD, but some > commands, such as git reset --hard (which happened in git rebase --skip, > but could just as well be typed by the user), modify ORIG_HEAD. > > Just use the orig-head we store in $dotest instead.
Oops, forgot the -s. Signed-off-by: Mike Hommey <mh@glandium.org>