diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-29 09:43:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-29 09:43:29 -0700 |
commit | 2b1164dcb4d39a0163d4ac1a7ba350140d59ce15 (patch) | |
tree | 576b28ef9e7d4882f8d9f79ac286ab2240b1d261 /diff-options.txt | |
parent | acfb98de3d9e0df8963c76d7503dd30738beb75b (diff) | |
download | git-htmldocs-2b1164dcb4d39a0163d4ac1a7ba350140d59ce15.tar.gz |
Autogenerated HTML docs for v2.42.0-296-g493f46
Diffstat (limited to 'diff-options.txt')
-rw-r--r-- | diff-options.txt | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/diff-options.txt b/diff-options.txt index c07488b12..35fae7c87 100644 --- a/diff-options.txt +++ b/diff-options.txt @@ -204,14 +204,15 @@ have to use `--diff-algorithm=default` option. part. Maximum width defaults to terminal width, or 80 columns if not connected to a terminal, and can be overridden 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. + giving another width `<name-width>` after a comma or by setting + `diff.statNameWidth=<width>`. The width of the graph part can be + limited by using `--stat-graph-width=<width>` or by setting + `diff.statGraphWidth=<width>`. Using `--stat` or + `--stat-graph-width` affects all commands generating a stat graph, + while setting `diff.statNameWidth` or `diff.statGraphWidth` + 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. + These parameters can also be set individually with `--stat-width=<width>`, `--stat-name-width=<name-width>` and `--stat-count=<count>`. |