Re: [PATCH] Teach git-apply about '-R'
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 28, 2006, 15:50 UTC
- Message-ID
- <Pine.LNX.4.63.0607281748390.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7v3bcln3m5.fsf@assigned-by-dhcp.cox.net>
Hi,
On Fri, 28 Jul 2006, Junio C Hamano wrote:
Show 6 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> > > A quick comment without looking much at the code. Do you sanely > bail out when asked to reverse-apply a binary patch?
Nope. I swap old_sha1_prefix and new_sha1_prefix in that case, I hoped that is enough?
> Also what was the reason to change an existing test vector in > 4102? That does not look like related to -R flag.
I changed "copy" to "rename", so that I could reuse that patch to test -R, too. Note that in the end, the original test vector is written, and tested.
Ciao, Dscho