summaryrefslogtreecommitdiff
path: root/Documentation/diff-options.txt
diff options
context:
space:
mode:
authorLibravatar Heikki Orsila <heikki.orsila@iki.fi>2008-09-05 22:27:35 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-09-05 14:04:26 -0700
commitfd33777b7871eefa440f89ccf7c432895af09c74 (patch)
tree4a09d41bc8c7515e027575a955ed6aaac9c52740 /Documentation/diff-options.txt
parentMerge branch 'jc/maint-log-grep' (diff)
downloadtgif-fd33777b7871eefa440f89ccf7c432895af09c74.tar.xz
diff --dirstat-by-file: count changed files, not lines
This new option --dirstat-by-file is the same as --dirstat, but it counts "impacted files" instead of "impacted lines" (lines that are added or removed). Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r--Documentation/diff-options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 6e268326da..7788d4fa4a 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -65,6 +65,9 @@ endif::git-format-patch[]
can be set with "--dirstat=limit". Changes in a child directory is not
counted for the parent directory, unless "--cumulative" is used.
+--dirstat-by-file[=limit]::
+ Same as --dirstat, but counts changed files instead of lines.
+
--summary::
Output a condensed summary of extended header information
such as creations, renames and mode changes.