]> Kevux Git Server - rit/commit
contrib/subtree: test history depth
authorColin Stagner <ask+git@howdoi.land>
Wed, 18 Feb 2026 02:31:31 +0000 (20:31 -0600)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2026 18:15:31 +0000 (10:15 -0800)
commit715b406e47d51a6f4f6be3b0ed42cfbd59217258
treeb24f32c7dc22afe8a749e5b49160845246298aea
parent767ee993b7ea3175691444af67550817de7f6c73
contrib/subtree: test history depth

Add history depth checks to some of the subtree unit tests.

These checks were previously introduced as part of 28a7e27cff
(contrib/subtree: detect rewritten subtree commits, 2026-01-09),
which has since been reverted.

Signed-off-by: Colin Stagner <ask+git@howdoi.land>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/t/t7900-subtree.sh