diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-08-02 19:37:23 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-08-02 19:37:23 +0300 |
commit | fea92e4cac30b1204ecc8dfd53675bbdd68611e0 (patch) | |
tree | a243ef2eea40ee245bf954c2a4105683029a855c /list-objects.c | |
parent | ee48e70a829d1fa2da82f14787051ad8e7c45b71 (diff) | |
parent | 30c8c55cbfa6e4f81e4d73767294f50f5d9c7d10 (diff) |
Merge branch 'jc/tree-walk-drop-base-offset'
Code simplification.
* jc/tree-walk-drop-base-offset:
tree-walk: drop unused base_offset from do_match()
tree-walk: lose base_offset that is never used in tree_entry_interesting
Diffstat (limited to 'list-objects.c')
-rw-r--r-- | list-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/list-objects.c b/list-objects.c index 672a4cd529..e60a6cd5b4 100644 --- a/list-objects.c +++ b/list-objects.c @@ -102,7 +102,7 @@ static void process_tree_contents(struct traversal_context *ctx, while (tree_entry(&desc, &entry)) { if (match != all_entries_interesting) { match = tree_entry_interesting(ctx->revs->repo->index, - &entry, base, 0, + &entry, base, &ctx->revs->diffopt.pathspec); if (match == all_entries_not_interesting) break; |