]> git.ipfire.org Git - thirdparty/git.git/commit - unpack-trees.c
unpack-trees: special case read-tree debugging as internal usage
authorElijah Newren <newren@gmail.com>
Mon, 27 Feb 2023 15:28:19 +0000 (15:28 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2023 16:29:51 +0000 (08:29 -0800)
commit1ca13dd3ca6e153a2bc5b0b53555996cdd668e93
tree7c913cb3c4647d4de794cc279c790648be7b6074
parent0d680a7158b647ced6a4e24a8687decc2ad6fb78
unpack-trees: special case read-tree debugging as internal usage

builtin/read-tree.c has some special functionality explicitly designed
for debugging unpack-trees.[ch].  Associated with that is two fields
that no other external caller would or should use.  Mark these as
internal to unpack-trees, but allow builtin/read-tree to read or write
them for this special case.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/read-tree.c
unpack-trees.c
unpack-trees.h