diff options
| author | René Scharfe <l.s.r@web.de> | 2026-01-09 22:30:18 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-09 18:36:17 -0800 |
| commit | d473865154ff12d398ee86d2c9093419aedfbf58 (patch) | |
| tree | bb79290b12db06cd3aac2d7b90cb149a07e51030 | |
| parent | fd64c6fbcb29a37e9d1ed8028ef52b886208866f (diff) | |
| download | git-d473865154ff12d398ee86d2c9093419aedfbf58.tar.xz | |
path-walk: use repo_parse_tree_gently()
Use the passed in repository instead of the implicit the_repository when
parsing the tree.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| -rw-r--r-- | path-walk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/path-walk.c b/path-walk.c index f1ceed99e9..364e4cfa19 100644 --- a/path-walk.c +++ b/path-walk.c @@ -137,7 +137,7 @@ static int add_tree_entries(struct path_walk_context *ctx, error(_("failed to walk children of tree %s: not found"), oid_to_hex(oid)); return -1; - } else if (parse_tree_gently(tree, 1)) { + } else if (repo_parse_tree_gently(ctx->repo, tree, 1)) { error("bad tree object %s", oid_to_hex(oid)); return -1; } |
