git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 30, 2026, 16:02 UTC
Message-ID
<xmqq8q6slb2t.fsf@gitster.g>
In-Reply-To
<pull.2186.v2.git.1785392350660.gitgitgadget@gmail.com>
"Nikolaus Schuetz via GitGitGadget" <gitgitgadget@gmail.com> 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.
Previous: Nikolaus Schuetz via GitGitGadget
Message 6 of 6 in “merge-base: add tests for --is-ancestor”
  1. merge-base: add tests for --is-ancestorNikolaus Schuetz via GitGitGadget, Jul 25, 2026
  2. Junio C HamanoJul 28, 2026
  3. Phillip WoodJul 29, 2026
  4. Junio C HamanoJul 29, 2026
  5. merge-base: add tests for --is-ancestorNikolaus Schuetz via GitGitGadget, Jul 30, 2026
  6. Junio C HamanoJul 30, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.