Re: [PATCH v2] merge-base: add tests for --is-ancestor

Junio C Hamano <[email protected]> Thu, 30 Jul 2026 09:02:50 -0700
Newsgroups org.kernel.vger.git
Message-ID <[email protected]>
"Nikolaus Schuetz via GitGitGadget" <[email protected]> writes:

>     Changes since v1, per review:
>     
>      * Reuse the E---D---C---B---A history and the G/H merges from the "set
>        up G and H" test instead of creating a separate repository.

Looks good.

>      * Add a test that --is-ancestor requires exactly two commits: too few
>        is a usage error (exit 129), while more than two is rejected with
>        "--is-ancestor takes exactly two commits" (exit 128).

OK.

Will queue.  Thanks.