Merge branch 'jc/tree-walk-drop-base-offset' into next
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user