Improve documentation for --dirstat diff option
Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Heikki Orsila committed
Sep 1, 2008 at 03:50 UTC
62e00b0a9a72337a1ae2818ff3640e07c78db636
1 file changed
+5
-6
Documentation/diff-options.txt
+5
-6
@@ -59,12 +59,11 @@ endif::git-format-patch[]
59
lines.
60
61
--dirstat[=limit]::
62
- Output only the sub-directories that are impacted by a diff,
63
- and to what degree they are impacted. You can override the
64
- default cut-off in percent (3) by "--dirstat=limit". If you
65
- want to enable "cumulative" directory statistics, you can use
66
- the "--cumulative" flag, which adds up percentages recursively
67
- even when they have been already reported for a sub-directory.
62
+ Output the distribution of relative amount of changes (number of lines added or
63
+ removed) for each sub-directory. Directories with changes below
64
+ a cut-off percent (3% by default) are not shown. The cut-off percent
65
+ can be set with "--dirstat=limit". Changes in a child directory is not
66
+ counted for the parent directory, unless "--cumulative" is used.
67
68
--summary::
69
Output a condensed summary of extended header information