[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-patch] Re: GNU patch: new 2.6 release
From: |
Claudio Fontana |
Subject: |
[bug-patch] Re: GNU patch: new 2.6 release |
Date: |
Sat, 14 Nov 2009 14:50:08 +0100 |
On Sat, Nov 14, 2009 at 1:46 PM, Andreas Gruenbacher <address@hidden> wrote:
> On Saturday 14 November 2009 13:22:38 Claudio Fontana wrote:
>> If I strip the @@ part from the patch, it then applies ok.
>> However, it is indeed interesting to keep the original "from" version
>> of the change, to know exactly from which version of the file the
>> patch has been built.
>
> Hmmm, cvs puts version information after the tab (where the timestamp usually
> is). git puts an extended "index" header line above the first hunk.
>
> I'm not convinced that adding support code for exceptions like @@ in filenames
> is a good idea long-term.
np, I will keep maintaining two versions of each patch, one with the
version information
and one without, the first for documentation and the second for actual applying.
> We should introduce a way to include special characters like newlines in
> filenames though; for example, git does by putting the the entire filename in
> quotes, and with escape sequences in such "quoted" filenames.
Btw it might be that quoting like that might actually help even my use
case, since
the second " could be placed before the version information of MVFS (@@.....)
[bug-patch] Re: GNU patch: new 2.6 release, Björn Gustavsson, 2009/11/15