X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fdiff-format.txt;h=d1d0d2d3dc8760a8030313de3dd14a942d0fc2bf;hb=4eba0f3763e2f4bbf614c99ae3a5b299e8d61aff;hp=bfe634dcd3664d0e3b18b212db2f3f16b63a385b;hpb=2b2dabc29f53c5835868029585000ee487cf6cbb;p=git.git diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt index bfe634dc..d1d0d2d3 100644 --- a/Documentation/diff-format.txt +++ b/Documentation/diff-format.txt @@ -55,6 +55,11 @@ Example: :100644 100644 5be4a4...... 000000...... M file.c ------------------------------------------------ +When `-z` option is not used, TAB, LF, and backslash characters +in pathnames are represented as `\t`, `\n`, and `\\`, +respectively. + + Generating patches with -p -------------------------- @@ -137,3 +142,7 @@ the file that rename/copy produces, respectively. rename to similarity index dissimilarity index + index .. + +3. TAB, LF, and backslash characters in pathnames are + represented as `\t`, `\n`, and `\\`, respectively.