diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-01-23 13:16:37 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-01-23 13:16:37 -0800 |
| commit | c0d75f0e2e2cbf432358bfd00be593fd28e257a3 (patch) | |
| tree | ddf40ec50af3fb5dae3793950ec366fd3a03e2b5 /combine-diff.c | |
| parent | addd37cd64e109eb0224e522869962519224cc78 (diff) | |
| parent | 4d8c51aa19be94bddb7cac6b11bccb4d23dfd4f8 (diff) | |
| download | git-c0d75f0e2e2cbf432358bfd00be593fd28e257a3.tar.xz | |
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 'combine-diff.c')
| -rw-r--r-- | combine-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/combine-diff.c b/combine-diff.c index 2505de119a..bc08c4c5b1 100644 --- a/combine-diff.c +++ b/combine-diff.c @@ -1438,7 +1438,7 @@ void diff_tree_combined(const struct object_id *oid, opt->flags.follow_renames || opt->break_opt != -1 || opt->detect_rename || - opt->pickaxe || + (opt->pickaxe_opts & DIFF_PICKAXE_KINDS_MASK) || opt->filter; |
