summaryrefslogtreecommitdiff
path: root/Documentation/diff-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-25 21:13:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-25 21:13:41 (GMT)
commitc3531e03856972b698df61c983a3375892220d51 (patch)
tree4d47308eda9807138c0b3e9b8af31f6d04708ced /Documentation/diff-options.txt
parent976809a8e202d40bc32adc4fff0c0b5056f89fca (diff)
parent16726cfa0c3ad5d0d261bd7068014e659cb989da (diff)
downloadgit-c3531e03856972b698df61c983a3375892220d51.zip
git-c3531e03856972b698df61c983a3375892220d51.tar.gz
git-c3531e03856972b698df61c983a3375892220d51.tar.bz2
Merge branch 'jc/doc-diff-filter-exclude'
Belated doc update for a feature added in v1.8.5. * jc/doc-diff-filter-exclude: diff: document diff-filter exclusion
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 d9ae681..705a873 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -419,6 +419,9 @@ ifndef::git-format-patch[]
paths are selected if there is any file that matches
other criteria in the comparison; if there is no file
that matches other criteria, nothing is selected.
++
+Also, these upper-case letters can be downcased to exclude. E.g.
+`--diff-filter=ad` excludes added and deleted paths.
-S<string>::
Look for differences that change the number of occurrences of