Re: [PATCH] rebase -i: avoid 'git reset' when possible
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Feb 27, 2009, 13:03 UTC
- Message-ID
- <fabb9a1e0902270503p4b769a48xaef5978f0f05797@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0902271354130.6600@intel-tinevez-2-302>
Heya,
On Fri, Feb 27, 2009 at 13:56, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> When picking commits whose parents have not changed, we do not need to > rewrite the commit. We do not need to reset the working directory to > the parent's state, either.
Awesome, I will give this a spin when I get home.
>> Having said that, I think yours might be such a common case that >> it is worth optimizing for. > > And so I did.
Very nice, I don't think I couldof done it anywhere near as fast ;).
-- Cheers, Sverre Rabbelier