Skip to content

Commit

Permalink
diff-format.txt: Correct information about pathnames quoting in patch…
Browse files Browse the repository at this point in the history
… format

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Oct 27, 2006
1 parent 0ac3056 commit fb8e23f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Documentation/diff-format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,10 @@ the file that rename/copy produces, respectively.
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
Expand Down

0 comments on commit fb8e23f

Please sign in to comment.