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

[PATCH] diff-format.txt: Expand information about pathnames quoting in patch format

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 26, 2006, 19:03 UTC
Message-ID
<200610262103.31058.jnareb@gmail.com>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
 Documentation/diff-format.txt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt
index ed4ebcb..f980ecf 100644
--- a/Documentation/diff-format.txt
+++ b/Documentation/diff-format.txt
@@ -146,6 +146,9 @@ the file that rename/copy produces, resp
 
 3.  TAB, LF, and backslash characters in pathnames are
     represented as `\t`, `\n`, and `\\`, respectively.
+    If there is need to quote pathname then the whole
+    pathname is put in double quotes, and quote characters
+    in pathname are represented as `\"`.
 
 
 combined diff format
-- 
1.4.3.3
Next: Jakub Narebski
Message 1 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.