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:
@ -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;
|
||||
|
Reference in New Issue
Block a user