X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff-options.txt;h=2a0275eeda19b7af50e22f0709e6a31afee10b5e;hb=6ec31b9133a8c5decd8c2ced0f38de3a40041ca4;hp=5c85167ff26b40cb1c9d6f282eed268eb0457822;hpb=235a91e6b0d1d18a2517cf7e0a18278a6912bdb0;p=git.git diff --git a/diff-options.txt b/diff-options.txt index 5c85167f..2a0275ee 100644 --- a/diff-options.txt +++ b/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