]> git.ipfire.org Git - thirdparty/git.git/commit
tree: use repo_parse_tree()
authorRené Scharfe <l.s.r@web.de>
Fri, 9 Jan 2026 21:30:19 +0000 (22:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 10 Jan 2026 02:36:17 +0000 (18:36 -0800)
commite61c387a1be8feec8bcb0cf1793893d206eaa2f7
treedb14083caed59f2b1c705633f4d20fd9ba81f5ff
parentd473865154ff12d398ee86d2c9093419aedfbf58
tree: use repo_parse_tree()

e092073d64 (tree.c: make read_tree*() take 'struct repository *',
2018-11-18) replaced explicit uses of the_repository.  parse_tree() uses
it internally, though, so call repo_parse_tree() instead and hand it the
correct repository.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree.c