diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-01-23 22:16:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-23 22:16:37 +0100 |
commit | c0d75f0e2e2cbf432358bfd00be593fd28e257a3 (patch) | |
tree | ddf40ec50af3fb5dae3793950ec366fd3a03e2b5 /Documentation/diff-options.txt | |
parent | Merge branch 'jk/abort-clone-with-existing-dest' (diff) | |
parent | diff: use HAS_MULTI_BITS instead of counting bits manually (diff) | |
download | git-c0d75f0e2e2cbf432358bfd00be593fd28e257a3.tar.xz git-c0d75f0e2e2cbf432358bfd00be593fd28e257a3.zip |
Merge branch 'sb/diff-blobfind-pickaxe'
"diff" family of commands learned "--find-object=<object-id>" option
to limit the findings to changes that involve the named object.
* sb/diff-blobfind-pickaxe:
diff: use HAS_MULTI_BITS instead of counting bits manually
diff: properly error out when combining multiple pickaxe options
diffcore: add a pickaxe option to find a specific blob
diff: introduce DIFF_PICKAXE_KINDS_MASK
diff: migrate diff_flags.pickaxe_ignore_case to a pickaxe_opts bit
diff.h: make pickaxe_opts an unsigned bit field
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r-- | Documentation/diff-options.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 743af97b06..c330c01ff0 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -508,6 +508,15 @@ occurrences of that string did not change). See the 'pickaxe' entry in linkgit:gitdiffcore[7] for more information. +--find-object=<object-id>:: + Look for differences that change the number of occurrences of + the specified object. Similar to `-S`, just the argument is different + in that it doesn't search for a specific string but for a specific + object id. ++ +The object can be a blob or a submodule commit. It implies the `-t` option in +`git-log` to also find trees. + --pickaxe-all:: When `-S` or `-G` finds a change, show all the changes in that changeset, not just the files that contain the change @@ -516,6 +525,7 @@ information. --pickaxe-regex:: Treat the <string> given to `-S` as an extended POSIX regular expression to match. + endif::git-format-patch[] -O<orderfile>:: |