Update documentation for C-style quoting.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Oct 14, 2005 at 21:56 UTC
d88156e943ab4ab5990fb8929fc432f7638df7f6
4 files changed
+33
-2
Documentation/diff-format.txt
+9
@@ -55,6 +55,11 @@ Example:
55
:100644 100644 5be4a4...... 000000...... M file.c
56
------------------------------------------------
57
58
+When `-z` option is not used, TAB, LF, and backslash characters
59
+in pathnames are represented as `\t`, `\n`, and `\\`,
60
+respectively.
61
+
62
+
63
Generating patches with -p
64
--------------------------
65
@@ -137,3 +142,7 @@ the file that rename/copy produces, respectively.
142
rename to <path>
143
similarity index <number>
144
dissimilarity index <number>
145
+ index <hash>..<hash> <mode>
146
+
147
+3. TAB, LF, and backslash characters in pathnames are
148
+ represented as `\t`, `\n`, and `\\`, respectively.
Documentation/git-apply.txt
+15
-1
@@ -8,7 +8,7 @@ git-apply - Apply patch on a git index file and a work tree
8
9
SYNOPSIS
10
--------
11
-'git-apply' [--stat] [--summary] [--check] [--index] [--show-files] [--apply] [<patch>...]
11
+'git-apply' [--stat] [--summary] [--check] [--index] [--apply] [--show-files] [--index-info] [-z] [<patch>...]
12
13
DESCRIPTION
14
-----------
@@ -48,6 +48,20 @@ OPTIONS
48
--show-files::
49
Show summary of files that are affected by the patch.
50
51
+--index-info::
52
+ Newer git-diff output has embedded 'index information'
53
+ for each blob to help identify the original version that
54
+ the patch applies to. When this flag is given, and if
55
+ the original version of the blob is available locally,
56
+ outputs information about them to the standard output.
57
+
58
+-z::
59
+ When showing the index information, do not munge paths,
60
+ but use NUL terminated machine readable format. Without
61
+ this flag, the pathnames output will have TAB, LF, and
62
+ backslash characters replaced with `\t`, `\n`, and `\\`,
63
+ respectively.
64
+
65
--apply::
66
If you use any of the options marked ``Turns off
67
"apply"'' above, git-apply reads and outputs the
Documentation/git-ls-files.txt
+5
-1
@@ -54,7 +54,7 @@ OPTIONS
54
succeed.
55
56
-z::
57
- \0 line termination on output
57
+ \0 line termination on output.
58
59
-x|--exclude=<pattern>::
60
Skips files matching pattern.
@@ -100,6 +100,10 @@ the dircache records up to three such pairs; one from tree O in stage
100
the user (or the porcelain) to see what should eventually be recorded at the
101
path. (see git-read-tree for more information on state)
102
103
+When `-z` option is not used, TAB, LF, and backslash characters
104
+in pathnames are represented as `\t`, `\n`, and `\\`,
105
+respectively.
106
+
107
108
Exclude Patterns
109
----------------
Documentation/git-ls-tree.txt
+4
@@ -38,6 +38,10 @@ Output Format
38
-------------
39
<mode> SP <type> SP <object> TAB <file>
40
41
+When `-z` option is not used, TAB, LF, and backslash characters
42
+in pathnames are represented as `\t`, `\n`, and `\\`,
43
+respectively.
44
+
45
46
Author
47
------