[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: |
Andreas Gruenbacher |
Subject: |
[bug-patch] Re: GNU patch: new 2.6 release |
Date: |
Sat, 14 Nov 2009 13:46:09 +0100 |
User-agent: |
KMail/1.12.2 (Linux/2.6.31.5-0.1-desktop; KDE/4.3.1; i686; ; ) |
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.
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.
Andreas
[bug-patch] Re: GNU patch: new 2.6 release, Björn Gustavsson, 2009/11/15