]> git.ipfire.org Git - thirdparty/git.git/commit
t6600: test --maximal-only and --independent
authorDerrick Stolee <stolee@gmail.com>
Mon, 6 Apr 2026 13:27:26 +0000 (13:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Apr 2026 19:02:30 +0000 (12:02 -0700)
commit295fb82264cc8be565a5da8259b103cbc6a41728
tree1298042b697ca247029090df516d59c1c34cd988
parent2f8c3f6a5a6d6a3de205be709e1a598b9d4b0b3e
t6600: test --maximal-only and --independent

Add a test that verifies the 'git rev-list --maximal-only' option
produces the same set of commits as 'git merge-base --independent'. This
equivalence was noted when the feature was first created, but we are
about to update the implementation to use a common algorithm in this
case where the user intention is identical.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6600-test-reach.sh