Skip to content

Commit 1d3743f

Browse files
committed
Merge branch 'ds/path-walk-1' into next
Introduce a new API to visit objects in batches based on a common path, or by type. * ds/path-walk-1: path-walk: drop redundant parse_tree() call
2 parents 3171845 + b224e8e commit 1d3743f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

path-walk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ static int add_tree_entries(struct path_walk_context *ctx,
126126
strbuf_addstr(&path, base_path);
127127
base_len = path.len;
128128

129-
parse_tree(tree);
130129
init_tree_desc(&desc, &tree->object.oid, tree->buffer, tree->size);
131130
while (tree_entry(&desc, &entry)) {
132131
struct type_and_oid_list *list;

0 commit comments

Comments
 (0)