Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/doc-diff-filter-exclude'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 25 Jul 2016 21:13:41 +0000
(14:13 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 25 Jul 2016 21:13:41 +0000
(14:13 -0700)
Belated doc update for a feature added in v1.8.5.
* jc/doc-diff-filter-exclude:
diff: document diff-filter exclusion
Documentation/diff-options.txt
patch
|
blob
|
history
raw
(from parent 1:
976809a
)
diff --git
a/Documentation/diff-options.txt
b/Documentation/diff-options.txt
index d9ae681d8ff676a80e757adb76b02787a5c091c7..705a8739420067d433817c0f855c5cb4ee99559b 100644
(file)
--- 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