git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH (amend)] diff-format.txt: Correct information about pathnames quoting in patch format

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 26, 2006, 20:21 UTC
Message-ID
<200610262221.03266.jnareb@gmail.com>
In-Reply-To
<200610262103.31058.jnareb@gmail.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
Discard previous version, please. This one should be correct.
 Documentation/diff-format.txt |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt
index ed4ebcb..e4520e2 100644
--- a/Documentation/diff-format.txt
+++ b/Documentation/diff-format.txt
@@ -144,8 +144,10 @@ the file that rename/copy produces, resp
        dissimilarity index <number>
        index <hash>..<hash> <mode>
 
-3.  TAB, LF, and backslash characters in pathnames are
-    represented as `\t`, `\n`, and `\\`, respectively.
+3.  TAB, LF, double quote and backslash characters in pathnames
+    are represented as `\t`, `\n`, `\"` and `\\`, respectively.
+    If there is need for such substitution then the whole
+    pathname is put in double quotes.
 
 
 combined diff format
-- 
1.4.3.3
Previous: Jakub Narebski
Message 2 of 2 in “diff-format.txt: Expand information about pathnames quoting in patch format”
  1. diff-format.txt: Expand information about pathnames quoting in patch formatJakub Narebski, Oct 26, 2006
  2. diff-format.txt: Correct information about pathnames quoting in patch formatJakub Narebski, Oct 26, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.