Re: 'commit -a' safety
- From
Joey Hess <joey@kitenet.net>
- Date
- Apr 24, 2010, 14:28 UTC
- Message-ID
- <20100424142848.GA4461@gnu.kitenet.net>
- In-Reply-To
- <201004241348.49397.jnareb@gmail.com>
Jakub Narebski wrote:
> What you cant recover by undoing commit is the state of index before > accidental 'git commit -a' instead of 'git commit'.
Has a reflog equivilant for the index, to allow resetting it to a previous state, ever been discussed?
I don't grok its data structure -- could that be done efficiently?
-- see shy jo