git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Improve documentation for --dirstat diff option

From
HOHeikki Orsila <heikki.orsila@iki.fi>
Date
Sep 1, 2008, 10:13 UTC
Message-ID
<20080901101334.GA4544@zakalwe.fi>
Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi>
---
My earlier version of the patch already gave an example of use. This 
version changes the word "damage" to "impact" (Jakub Narebski's 
suggestion).
 Documentation/diff-options.txt |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 1759386..150debb 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -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 impact (number of lines added or
+	removed) for each sub-directory. Directories with impact below
+	a cut-off percent (3% by default) are not shown. The cut-off percent
+	can be set with "--dirstat=limit". Child directory impact is not
+	counted for the parent directory, unless "--cumulative" is used.
 
 --summary::
 	Output a condensed summary of extended header information
-- 
1.6.0.1
Next: Abhijit Menon-Sen
Message 1 of 2 in “Improve documentation for --dirstat diff option”
  1. Improve documentation for --dirstat diff optionHeikki Orsila, Sep 1, 2008
  2. Abhijit Menon-SenSep 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.