Skip to content

Commit 2f8c654

Browse files
committed
Merge branch 'jc/doc-diff-filter-exclude' into maint
Belated doc update for a feature added in v1.8.5. * jc/doc-diff-filter-exclude: diff: document diff-filter exclusion
2 parents 970994d + 16726cf commit 2f8c654

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/diff-options.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,9 @@ ifndef::git-format-patch[]
419419
paths are selected if there is any file that matches
420420
other criteria in the comparison; if there is no file
421421
that matches other criteria, nothing is selected.
422+
+
423+
Also, these upper-case letters can be downcased to exclude. E.g.
424+
`--diff-filter=ad` excludes added and deleted paths.
422425

423426
-S<string>::
424427
Look for differences that change the number of occurrences of

0 commit comments

Comments
 (0)