diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2010-10-05 19:21:35 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2010-10-05 19:21:35 +0200 |
commit | 3e234c40d29d3ccf01d288c7e56488b259199153 (patch) | |
tree | 75e88c2732d45c3413e793064777e7ab5be11c51 /NEWS | |
parent | 86e12910c67ce69b5e36592824c053d900031e1e (diff) | |
download | patch-3e234c40d29d3ccf01d288c7e56488b259199153.tar.gz |
Only recognize quited filename in the "diff --git" format
* src/util.c: Add a maybe_quoted parameter to fetchname.
* src/pch.c: Only recognize quited filename in the "diff --git"
format, at least for now.
* tests/quoted-filenames: Update accordingly.
* NEWS: Update accordingly.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -4,10 +4,11 @@ + In the "diff --git" format, all the patches are relative to the original state of the files to patch, allowing things like criss-cross renames. GNU patch will currently fail for such patches. -* Support for double-quoted filenames: when a filename in a context diff - starts with a double quote, it is interpreted as a C string literal. The - escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v, and \ooo (a three-digit - octal number between 0 and 255) are recognized. +* Support for double-quoted filenames in the "diff --git" format: when a + filename in a context diff starts with a double quote, it is interpreted + as a C string literal. The escape sequences \\, \", \a, \b, \f, \n, \r, + \t, \v, and \ooo (a three-digit octal number between 0 and 255) are + recognized. * Refuse to patch read-only files by default, or at least warn when patching such files with --force or --batch. * Refuse to apply a normal patch to a symlink. (Previous versions of patch |