{"thread":{"id":"13200","subject":"[PATCH] diff-options.txt: document the new \"--dirstat\" option","startedAt":"2008-04-21T18:15:52Z","lastAt":"2008-04-21T18:15:52Z","messageCount":1,"participants":["Gerrit Pape"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"74878","messageId":"20080421181552.22887.qmail@f15a5fb7994b18.315fe32.mid.smarden.org","threadId":"13200","inReplyTo":null,"subject":"[PATCH] diff-options.txt: document the new \"--dirstat\" option","fromName":"Gerrit Pape","fromEmail":"pape@smarden.org","sentAt":"2008-04-21T18:15:52Z","receivedAt":"2008-04-21T18:15:52Z","isPatch":true,"sender":{"key":"pape@smarden.org","avatar":"https://avatars.githubusercontent.com/u/143170252?v=4"},"body":"7df7c01 Adds \"--dirstat\" for some directory statistics,\nthis commit adds the documentation for the new option.\n\nNoticed by Clint Adams, reported through\n http://bugs.debian.org/476437\n\nSigned-off-by: Gerrit Pape <pape@smarden.org>\n---\n Documentation/diff-options.txt |    8 ++++++++\n 1 files changed, 8 insertions(+), 0 deletions(-)\n\ndiff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt\nindex 8dc5b00..01e7a57 100644\n--- a/Documentation/diff-options.txt\n+++ b/Documentation/diff-options.txt\n@@ -58,6 +58,14 @@ endif::git-format-patch[]\n \tnumber of modified files, as well as number of added and deleted\n \tlines.\n \n+--dirstat[=limit]::\n+\tOutput only the sub-directories that are impacted by a diff,\n+\tand to what degree they are impacted.  You can override the\n+\tdefault cut-off in percent (3) by \"--dirstat=limit\".  If you\n+\twant to enable \"cumulative\" directory statistics, you can use\n+\tthe \"--cumulative\" flag, which adds up percentages recursively\n+\teven when they have been already reported for a sub-directory.\n+\n --summary::\n \tOutput a condensed summary of extended header information\n \tsuch as creations, renames and mode changes.\n-- \n1.5.5\n"}]}