From: Christian Couder Date: Mon, 03 Aug 2009 06:29:21 GMT Subject: Re: [PATCH 3/3] rebase -i: use "git sequencer--helper --reset-hard" Message-ID: <200908030829.21424.chriscool@tuxfamily.org> In-Reply-To: Hi, On Monday 03 August 2009, Sverre Rabbelier wrote: > Heya, > > On Sun, Aug 2, 2009 at 19:40, Christian Couder wrote: > > 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.