Re: [PATCH] Teach diff machinery to display other prefixes than "a/" and "b/"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 18, 2007, 16:58 UTC
- Message-ID
- <Pine.LNX.4.64.0712181654410.23902@racer.site>
- In-Reply-To
- <4767F935.8060207@obry.net>
Hi,
On Tue, 18 Dec 2007, Pascal Obry wrote:
Show 6 quoted lines
> Johannes Schindelin a ?crit : > > With the new option "--prefix=<prefix1>[:<prefix2>]" you can change > > the shown prefix, or suppress it (by specifying the empty string). > > Why not ? But do you have a motivation for this change ? I mean why > would you want to use a completely different prefix ?
I vaguely remember that somebody once asked for something a la GNU patch's -B option.
Besides, why restrict ourselves? I mean, really, my patch only adds 6/4 added/removed lines relative to your patch (part of which stems from the fact that I did not forget the "diff --git" line). Why not take the added value virtually for free?
Ciao, Dscho