Improve documentation for --dirstat diff option

Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Heikki Orsila 2008-09-01 03:50:28 +03:00 committed by Junio C Hamano
parent 86521acaca
commit 62e00b0a9a

View File

@ -59,12 +59,11 @@ endif::git-format-patch[]
lines. lines.
--dirstat[=limit]:: --dirstat[=limit]::
Output only the sub-directories that are impacted by a diff, Output the distribution of relative amount of changes (number of lines added or
and to what degree they are impacted. You can override the removed) for each sub-directory. Directories with changes below
default cut-off in percent (3) by "--dirstat=limit". If you a cut-off percent (3% by default) are not shown. The cut-off percent
want to enable "cumulative" directory statistics, you can use can be set with "--dirstat=limit". Changes in a child directory is not
the "--cumulative" flag, which adds up percentages recursively counted for the parent directory, unless "--cumulative" is used.
even when they have been already reported for a sub-directory.
--summary:: --summary::
Output a condensed summary of extended header information Output a condensed summary of extended header information