Code

diff --stat: add config option to limit graph width
[git.git] / Documentation / diff-options.txt
index d34efd521835a2004ab193063a37ed2a92b4827a..87f0a5fb8f1b74332d0a9ce6579bc5d8d0f00ef3 100644 (file)
@@ -54,13 +54,15 @@ endif::git-format-patch[]
 
 --stat[=<width>[,<name-width>[,<count>]]]::
        Generate a diffstat. By default, as much space as necessary
-       will be used for the filename part, and the rest for
-       the graph part. Maximum width defaults to terminal width,
-       or 80 columns if not connected to a terminal, and can be
-       overriden by `<width>`. The width of the filename part can be
-       limited by giving another width `<name-width>` after a comma.
-       The width of the graph part can be limited by using
-       `--stat-graph-width=<width>`.
+       will be used for the filename part, and the rest for the graph
+       part. Maximum width defaults to terminal width, or 80 columns
+       if not connected to a terminal, and can be overriden by
+       `<width>`. The width of the filename part can be limited by
+       giving another width `<name-width>` after a comma. The width
+       of the graph part can be limited by using
+       `--stat-graph-width=<width>` (affects all commands generating
+       a stat graph) or by setting `diff.statGraphWidth=<width>`
+       (does not affect `git format-patch`).
        By giving a third parameter `<count>`, you can limit the
        output to the first `<count>` lines, followed by `...` if
        there are more.