Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-08-02 19:37:23 +0300
committerJunio C Hamano <gitster@pobox.com>2023-08-02 19:37:23 +0300
commitfea92e4cac30b1204ecc8dfd53675bbdd68611e0 (patch)
treea243ef2eea40ee245bf954c2a4105683029a855c /tree-diff.c
parentee48e70a829d1fa2da82f14787051ad8e7c45b71 (diff)
parent30c8c55cbfa6e4f81e4d73767294f50f5d9c7d10 (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 'tree-diff.c')
-rw-r--r--tree-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree-diff.c b/tree-diff.c
index 966946848a..8fc159b86e 100644
--- a/tree-diff.c
+++ b/tree-diff.c
@@ -317,7 +317,7 @@ static void skip_uninteresting(struct tree_desc *t, struct strbuf *base,
while (t->size) {
match = tree_entry_interesting(opt->repo->index, &t->entry,
- base, 0, &opt->pathspec);
+ base, &opt->pathspec);
if (match) {
if (match == all_entries_not_interesting)
t->size = 0;