]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/diff-options.txt
docs/diff-options: clarify scope of diff-filter types
[thirdparty/git.git] / Documentation / diff-options.txt
index d91ddbd5fe490527bd3032789d0bf3f2eef93f93..eec583d4ee7caf2ff344616f56865d406c001793 100644 (file)
@@ -422,6 +422,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