summaryrefslogtreecommitdiffstats
path: root/diff-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-01-09 15:09:38 -0800
committerJunio C Hamano <gitster@pobox.com>2018-01-09 15:09:38 -0800
commit3a34f15bd3c7fd04c1dcab5cc46eec8d49b04a11 (patch)
tree1b8a990a784adf2308beb62e540d90ccd4196189 /diff-options.txt
parent2a78f2782c79f72b80dfdeb525d9f8f367888199 (diff)
downloadgit-htmldocs-3a34f15bd3c7fd04c1dcab5cc46eec8d49b04a11.tar.gz
Autogenerated HTML docs for v2.16.0-rc1-28-g6366d
Diffstat (limited to 'diff-options.txt')
-rw-r--r--diff-options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/diff-options.txt b/diff-options.txt
index 9d1586b95..743af97b0 100644
--- a/diff-options.txt
+++ b/diff-options.txt
@@ -469,6 +469,12 @@ ifndef::git-format-patch[]
+
Also, these upper-case letters can be downcased to exclude. E.g.
`--diff-filter=ad` excludes added and deleted paths.
++
+Note that not all diffs can feature all types. For instance, diffs
+from the index to the working tree can never have Added entries
+(because the set of paths included in the diff is limited by what is in
+the index). Similarly, copied and renamed entries cannot appear if
+detection for those types is disabled.
-S<string>::
Look for differences that change the number of occurrences of