summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-02-21 11:16:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-21 23:16:58 (GMT)
commit4ce7aab5a56394914bd05b9e5fa4ca66404ec5f5 (patch)
tree07b504d7a14fcd7f0f7231af615c037a61939b14 /Documentation
parente56736203eb4076979358130c299e10eecc93d4d (diff)
downloadgit-4ce7aab5a56394914bd05b9e5fa4ca66404ec5f5.zip
git-4ce7aab5a56394914bd05b9e5fa4ca66404ec5f5.tar.gz
git-4ce7aab5a56394914bd05b9e5fa4ca66404ec5f5.tar.bz2
diff-parseopt: convert --dirstat and friends
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/diff-options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 0711734..7b81b85 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -148,6 +148,7 @@ These parameters can also be set individually with `--stat-width=<width>`,
number of modified files, as well as number of added and deleted
lines.
+-X[<param1,param2,...>]::
--dirstat[=<param1,param2,...>]::
Output the distribution of relative amount of changes for each
sub-directory. The behavior of `--dirstat` can be customized by
@@ -192,6 +193,12 @@ directories with less than 10% of the total amount of changed files,
and accumulating child directory counts in the parent directories:
`--dirstat=files,10,cumulative`.
+--cumulative::
+ Synonym for --dirstat=cumulative
+
+--dirstat-by-file[=<param1,param2>...]::
+ Synonym for --dirstat=files,param1,param2...
+
--summary::
Output a condensed summary of extended header information
such as creations, renames and mode changes.