Skip to content

Commit

Permalink
Add --diff-filter= documentation paragraph
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Loeliger <jdl@jdl.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Jon Loeliger authored and Junio C Hamano committed Feb 9, 2006
1 parent d19e06f commit 147cf31
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@
-C::
Detect copies as well as renames.

--diff-filter=[ACDMRTUXB*]::
Select only files that are Added (`A`), Copied (`C`),
Deleted (`D`), Modified (`M`), Renamed (`R`), have their
type (mode) changed (`T`), are Unmerged (`U`), are
Unknown (`X`), or have had their pairing Broken (`B`).
Any combination of the filter characters may be used.
When `*` (All-or-none) is added to the combination, all
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.

--find-copies-harder::
For performance reasons, by default, -C option finds copies only
if the original file of the copy was modified in the same
Expand Down

0 comments on commit 147cf31

Please sign in to comment.