X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff-options.txt;h=ec6811c71885a9aa0a28626c46e0645cd79864ac;hb=a8adb1ec550d7d7a66cd4d362cfbd01795d71f43;hp=9e574a04d3904228f835eca2ab698c66b92bf2a8;hpb=1a4e841b439ba014b365999c3a6b9e2be3740bd8;p=git.git diff --git a/diff-options.txt b/diff-options.txt index 9e574a04..ec6811c7 100644 --- a/diff-options.txt +++ b/diff-options.txt @@ -21,7 +21,7 @@ --abbrev[=]:: Instead of showing the full 40-byte hexadecimal object name in diff-raw format output and diff-tree header - lines, show only handful dhexigits prefix. This is + lines, show only handful hexdigits prefix. This is independent of --full-index option above, which controls the diff-patch output format. Non default number of digits can be specified with --abbrev=. @@ -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 @@ -58,6 +69,10 @@ changeset, not just the files that contain the change in . +--pickaxe-regex:: + Make the not a plain string but an extended POSIX + regex to match. + -O:: Output the patch in the order specified in the , which has one shell glob pattern per line.