Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
diff: document diff-filter exclusion
author
Junio C Hamano
<gitster@pobox.com>
Thu, 14 Jul 2016 19:17:47 +0000
(12:17 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 14 Jul 2016 19:17:47 +0000
(12:17 -0700)
In v1.8.5 days,
7f2ea5f0
(diff: allow lowercase letter to specify
what change class to exclude, 2013-07-17) taught the "--diff-filter"
mechanism to take lowercase letters as exclusion, but we forgot to
document it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
7654286
)
diff --git
a/Documentation/diff-options.txt
b/Documentation/diff-options.txt
index 3ad6404dbcf2915721ac963085bbc0269c1d7312..073c7e58f4eb8dce2516eb236421030169704c2e 100644
(file)
--- a/
Documentation/diff-options.txt
+++ b/
Documentation/diff-options.txt
@@
-399,6
+399,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