summaryrefslogtreecommitdiffstats
path: root/git-diff-index.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-05-07 13:20:28 +0900
committerJunio C Hamano <gitster@pobox.com>2021-05-07 13:20:28 +0900
commitbe601db52373745ac789abd913f1a259585c958a (patch)
tree61431ac4cfb4ac7934254a7230e9dc17504a4bf3 /git-diff-index.html
parent4078a55a6fb467915a2f03f271d1390b97eabc13 (diff)
downloadgit-htmldocs-be601db52373745ac789abd913f1a259585c958a.tar.gz
Autogenerated HTML docs for v2.31.1-527-g2d677e
Diffstat (limited to 'git-diff-index.html')
-rw-r--r--git-diff-index.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/git-diff-index.html b/git-diff-index.html
index f78cd1afb..8275010e4 100644
--- a/git-diff-index.html
+++ b/git-diff-index.html
@@ -2340,7 +2340,7 @@ all parents.</p></div>
with the <code>-p</code> option produces patch text.
You can customize the creation of patch text via the
<code>GIT_EXTERNAL_DIFF</code> and the <code>GIT_DIFF_OPTS</code> environment variables
-(see <a href="git.html">git(1)</a>).</p></div>
+(see <a href="git.html">git(1)</a>), and the <code>diff</code> attribute (see <a href="gitattributes.html">gitattributes(5)</a>).</p></div>
<div class="paragraph"><p>What the -p option produces is slightly different from the traditional
diff format:</p></div>
<div class="olist arabic"><ol class="arabic">
@@ -2414,6 +2414,14 @@ rename from b
rename to a</code></pre>
</div></div>
</li>
+<li>
+<p>
+Hunk headers mention the name of the function to which the hunk
+ applies. See "Defining a custom hunk-header" in
+ <a href="gitattributes.html">gitattributes(5)</a> for details of how to tailor to this to
+ specific languages.
+</p>
+</li>
</ol></div>
</div>
</div>