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:
@ -643,7 +643,7 @@ static int grep_tree(struct grep_opt *opt, const struct pathspec *pathspec,
|
||||
strbuf_addstr(&name, base->buf + tn_len);
|
||||
match = tree_entry_interesting(repo->index,
|
||||
&entry, &name,
|
||||
0, pathspec);
|
||||
pathspec);
|
||||
strbuf_setlen(&name, name_base_len);
|
||||
|
||||
if (match == all_entries_not_interesting)
|
||||
|
Reference in New Issue
Block a user