summaryrefslogtreecommitdiff
path: root/Documentation/diff-options.txt
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2006-02-09 09:12:11 -0600
committerJunio C Hamano <junkio@cox.net>2006-02-09 12:06:57 -0800
commit147cf31738e5e66aa304897ede6b556d4e204967 (patch)
tree0a1357407815038820e5c01dc3a200fab2af84b2 /Documentation/diff-options.txt
parentd19e06fa8f86b611c10115903ef7e50d5de112f0 (diff)
downloadgit-147cf31738e5e66aa304897ede6b556d4e204967.tar.gz
Add --diff-filter= documentation paragraph
Signed-off-by: Jon Loeliger <jdl@jdl.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r--Documentation/diff-options.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 5c85167ff2..2a0275eeda 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -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