summaryrefslogtreecommitdiffstats
path: root/git-diff.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-29 09:43:29 -0700
committerJunio C Hamano <gitster@pobox.com>2023-09-29 09:43:29 -0700
commit2b1164dcb4d39a0163d4ac1a7ba350140d59ce15 (patch)
tree576b28ef9e7d4882f8d9f79ac286ab2240b1d261 /git-diff.html
parentacfb98de3d9e0df8963c76d7503dd30738beb75b (diff)
downloadgit-htmldocs-2b1164dcb4d39a0163d4ac1a7ba350140d59ce15.tar.gz
Autogenerated HTML docs for v2.42.0-296-g493f46
Diffstat (limited to 'git-diff.html')
-rw-r--r--git-diff.html26
1 files changed, 18 insertions, 8 deletions
diff --git a/git-diff.html b/git-diff.html
index 9b747eb58..cd2783008 100644
--- a/git-diff.html
+++ b/git-diff.html
@@ -1101,14 +1101,15 @@ have to use <code>--diff-algorithm=default</code> option.</p></div>
part. Maximum width defaults to terminal width, or 80 columns
if not connected to a terminal, and can be overridden by
<code>&lt;width&gt;</code>. The width of the filename part can be limited by
- giving another width <code>&lt;name-width&gt;</code> after a comma. The width
- of the graph part can be limited by using
- <code>--stat-graph-width=&lt;width&gt;</code> (affects all commands generating
- a stat graph) or by setting <code>diff.statGraphWidth=&lt;width&gt;</code>
- (does not affect <code>git format-patch</code>).
- By giving a third parameter <code>&lt;count&gt;</code>, you can limit the
- output to the first <code>&lt;count&gt;</code> lines, followed by <code>...</code> if
- there are more.
+ giving another width <code>&lt;name-width&gt;</code> after a comma or by setting
+ <code>diff.statNameWidth=&lt;width&gt;</code>. The width of the graph part can be
+ limited by using <code>--stat-graph-width=&lt;width&gt;</code> or by setting
+ <code>diff.statGraphWidth=&lt;width&gt;</code>. Using <code>--stat</code> or
+ <code>--stat-graph-width</code> affects all commands generating a stat graph,
+ while setting <code>diff.statNameWidth</code> or <code>diff.statGraphWidth</code>
+ does not affect <code>git format-patch</code>.
+ By giving a third parameter <code>&lt;count&gt;</code>, you can limit the output to
+ the first <code>&lt;count&gt;</code> lines, followed by <code>...</code> if there are more.
</p>
<div class="paragraph"><p>These parameters can also be set individually with <code>--stat-width=&lt;width&gt;</code>,
<code>--stat-name-width=&lt;name-width&gt;</code> and <code>--stat-count=&lt;count&gt;</code>.</p></div>
@@ -3100,6 +3101,15 @@ and accumulating child directory counts in the parent directories:
<code>files,10,cumulative</code>.</p></div>
</dd>
<dt class="hdlist1">
+diff.statNameWidth
+</dt>
+<dd>
+<p>
+ Limit the width of the filename part in --stat output. If set, applies
+ to all commands generating --stat output except format-patch.
+</p>
+</dd>
+<dt class="hdlist1">
diff.statGraphWidth
</dt>
<dd>