]> Kevux Git Server - rit/commit
contrib/subtree: capture additional test-cases
authorColin Stagner <ask+git@howdoi.land>
Wed, 18 Feb 2026 02:31:30 +0000 (20:31 -0600)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2026 18:15:31 +0000 (10:15 -0800)
commit767ee993b7ea3175691444af67550817de7f6c73
treee1b52500b3cebe51b722f1edf595efc60c81427e
parent73fd77805fc6406f31c36212846d9e2541d19321
contrib/subtree: capture additional test-cases

Patch series e7b07376e5 (Merge branch 'rs/subtree-fixes',
2018-10-26) corrects several defects in `git subtree split`.
The defects affect `split --rejoin` and merge commit processing.

There is no test coverage for this, and e7b07376e5 did not
introduce any.

Convert the minimum working example [1] from the original patch
submission [2] into test cases.

[1]: https://gist.github.com/FoxFireX/1b794384612b7fd5e7cd157cff96269e

[2]: <20180928183540.48968-1-roger.strain@swri.org>

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