]> Kevux Git Server - rit/commit
t6601: tag otherwise-unreachable trees
authorDerrick Stolee <stolee@gmail.com>
Fri, 22 May 2026 18:24:34 +0000 (18:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 24 May 2026 09:41:06 +0000 (18:41 +0900)
commit5c21575ecfe8dad297adfc043d9553165b523579
tree62f7a56374ee947ddc499f3d6278ebb27e919987
parent2dc858e69e963b6c4501e1fc234938bea54c1248
t6601: tag otherwise-unreachable trees

The tests in t6601-path-walk.sh demonstrate the behavior of the
path-walk API under different conditions. One thing that I noticed while
updating the behavior of directly-requested objects is that we don't
actually emit tagged trees. This was previously not noticed due to those
tagged trees actually being reachable from commits that we are including
in the path-walk.

Update the test setup to have tree-tag and tree-tag2 point to trees that
are otherwise unreachable.

It is worth noting that this does not meaningfully change any of the
other test cases, demontrating the bug.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6601-path-walk.sh