summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2010-10-05 19:21:35 +0200
committerAndreas Gruenbacher <agruen@suse.de>2010-10-05 19:21:35 +0200
commit3e234c40d29d3ccf01d288c7e56488b259199153 (patch)
tree75e88c2732d45c3413e793064777e7ab5be11c51 /tests
parent86e12910c67ce69b5e36592824c053d900031e1e (diff)
downloadpatch-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 'tests')
-rw-r--r--tests/quoted-filenames1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/quoted-filenames b/tests/quoted-filenames
index e10bfa8..568f628 100644
--- a/tests/quoted-filenames
+++ b/tests/quoted-filenames
@@ -18,6 +18,7 @@ use_tmpdir
# \ / : * ? " < > |
cat > d.diff <<EOF
+diff --git " \\t\\040" " \\t\\040"
--- " \\t\\040"
+++ " \\t\\040"
@@ -1 +1 @@