Re: [PATCH v2] rebase -i: avoid 'git reset' when possible
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 3, 2009, 11:21 UTC
- Message-ID
- <alpine.DEB.1.00.0903031221330.6399@intel-tinevez-2-302>
- In-Reply-To
- <49AD1250.4080708@viscovery.net>
Hi,
On Tue, 3 Mar 2009, Johannes Sixt wrote:
Show 11 quoted lines
> Johannes Schindelin schrieb:
> > +# skip picking commits whose parents are unchanged
> > +skip_unnecessary_picks () {
> > + fd=3
> > + while read command sha1 rest
> > + do
> > + # fd=3 means we skip the command
> > + case "$fd,$command,$(git rev-parse --verify --quiet $sha1^)" in
> > + 3,pick,"$ONTO"*|t,p,"$ONTO"*)
>
> s/t,/3,/Bah! Of course, I had to insert a typo there!
Thanks! Dscho