Skip to content

Commit

Permalink
Merge branch 'jc/doc-diff-filter-exclude' into maint
Browse files Browse the repository at this point in the history
Belated doc update for a feature added in v1.8.5.

* jc/doc-diff-filter-exclude:
  diff: document diff-filter exclusion
  • Loading branch information
gitster committed Aug 8, 2016
2 parents 970994d + 16726cf commit 2f8c654
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f8c654

Please sign in to comment.