summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHeikki Orsila <heikki.orsila@iki.fi>2008-09-01 00:50:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-09-02 06:48:45 (GMT)
commit62e00b0a9a72337a1ae2818ff3640e07c78db636 (patch)
treebc960561094bf7d9ab75461ef93fcb0c6d0ccf0c /Documentation
parent86521acaca0cb9951d9ff5ac4bc2c736035267a0 (diff)
downloadgit-62e00b0a9a72337a1ae2818ff3640e07c78db636.zip
git-62e00b0a9a72337a1ae2818ff3640e07c78db636.tar.gz
git-62e00b0a9a72337a1ae2818ff3640e07c78db636.tar.bz2
Improve documentation for --dirstat diff option
Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/diff-options.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index cba90fd..746646b 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -59,12 +59,11 @@ endif::git-format-patch[]
lines.
--dirstat[=limit]::
- Output only the sub-directories that are impacted by a diff,
- and to what degree they are impacted. You can override the
- default cut-off in percent (3) by "--dirstat=limit". If you
- want to enable "cumulative" directory statistics, you can use
- the "--cumulative" flag, which adds up percentages recursively
- even when they have been already reported for a sub-directory.
+ Output the distribution of relative amount of changes (number of lines added or
+ removed) for each sub-directory. Directories with changes below
+ a cut-off percent (3% by default) are not shown. The cut-off percent
+ can be set with "--dirstat=limit". Changes in a child directory is not
+ counted for the parent directory, unless "--cumulative" is used.
--summary::
Output a condensed summary of extended header information