Re: [PATCH 08/10] tree: use repo_parse_tree()
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Jan 12, 2026, 09:21 UTC
- Message-ID
- <aWS9KUQDrHj7J6zX@pks.im>
- In-Reply-To
- <20260109213021.2546-9-l.s.r@web.de>
On Fri, Jan 09, 2026 at 10:30:19PM +0100, René Scharfe wrote:
> 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.
All of the conversions in preceding commits were trivial, so I feel like they could've just been squashed together. Please feel free to ignore this suggestion though.
Patrick