Re: [PATCH 3/3] rebase -i: use "git sequencer--helper --reset-hard"
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Aug 3, 2009, 06:29 UTC
- Message-ID
- <200908030829.21424.chriscool@tuxfamily.org>
- In-Reply-To
- <fabb9a1e0908022158g2578071ewd44bc8d730fb2b8b@mail.gmail.com>
Hi,
On Monday 03 August 2009, Sverre Rabbelier wrote:
> Heya, > > On Sun, Aug 2, 2009 at 19:40, Christian Couder<chriscool@tuxfamily.org>
wrote:
Show 5 quoted lines
> > instead of "git reset --hard" > > Hmmm, why though? The commit message (either this one or those earlier > in the series) don't really explain. What are the advantages of using > this new 'git reset --hard' alternative?
This is part of my work to port git-rebase--interactive.sh to C using code from the sequencer project. So the advantage is that it introduces and uses the reset_almost_hard() function that will be used in the end when everything is done by C code.
Regards, Christian.