Skip to content

Commit

Permalink
Improve documentation for --dirstat diff option
Browse files Browse the repository at this point in the history
Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Heikki Orsila authored and Junio C Hamano committed Sep 2, 2008
1 parent 86521ac commit 62e00b0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62e00b0

Please sign in to comment.