File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ linkgit:git-diff-files[1]
1111with the `-p` option produces patch text.
1212You can customize the creation of patch text via the
1313`GIT_EXTERNAL_DIFF` and the `GIT_DIFF_OPTS` environment variables
14- (see linkgit:git[1]).
14+ (see linkgit:git[1]), and the `diff` attribute (see linkgit:gitattributes[5]) .
1515
1616What the -p option produces is slightly different from the traditional
1717diff format:
@@ -74,6 +74,11 @@ separate lines indicate the old and the new mode.
7474 rename from b
7575 rename to a
7676
77+ 5. Hunk headers mention the name of the function to which the hunk
78+ applies. See "Defining a custom hunk-header" in
79+ linkgit:gitattributes[5] for details of how to tailor to this to
80+ specific languages.
81+
7782
7883Combined diff format
7984--------------------
You can’t perform that action at this time.
0 commit comments