diff-options.txt: document the new "--dirstat" option
This commit adds the documentation for the new option added by 7df7c01 (Add "--dirstat" for some directory statistics, 2008-02-12). Noticed by Clint Adams, reported through http://bugs.debian.org/476437 Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Gerrit Pape committed
Apr 21, 2008 at 18:15 UTC
37152d831048a0b30600a7b7e7926af2d5bcfab8
1 file changed
+8
Documentation/diff-options.txt
+8
@@ -58,6 +58,14 @@ endif::git-format-patch[]
58
number of modified files, as well as number of added and deleted
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.
68
+
69
--summary::
70
Output a condensed summary of extended header information
71
such as creations, renames and mode changes.