From: Johannes Schindelin Date: Tue, 03 Mar 2009 11:21:58 GMT Subject: Re: [PATCH v2] rebase -i: avoid 'git reset' when possible Message-ID: In-Reply-To: <49AD1250.4080708@viscovery.net> Hi, On Tue, 3 Mar 2009, Johannes Sixt wrote: > 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