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

Re: [PATCH v7 1/1] Implement rev-list --bisect* --first-parent

From
JYJubilee Young <workingjubilee@gmail.com>
Date
Nov 7, 2019, 05:07 UTC
Message-ID
<CAPNHn3oCOQRriDLmLFag0DWgvq2t3TLMiu25HyBKcuBuwLgb2g@mail.gmail.com>
In-Reply-To
<20191106213609.57464-1-jonathantanmy@google.com>
Hi! Thanks for all the feedback.

On Wed, Nov 6, 2019 at 1:36 PM Jonathan Tan <jonathantanmy@google.com> wrote:

>
> > > Also, clarify in the commit message somewhere that this commit does
not
Show 6 quoted lines
> > > change the behavior of "git bisect".
> >
> > s/\.$/ when used without the "--first-parent" option&/; you mean?
>
> As far as I know, "git bisect" doesn't support --first-parent, whether
> before or after this patch.

Correct, it still provides the usual "usage: git bisect ..." error. This provides plumbing but no porcelain right now.

Show 5 quoted lines
> At first I thought that this patch also teaches "git bisect" to support
> "--first-parent", but that is not the case. Only "git rev-list" learns
> to make "--bisect" work with "--first-parent". So I wanted the
> clarification. (But if you think that the clarification is unnecessary,
> that's fine too.)

I had been trying to deduce the best approach for writing the commit message but in the end I retained a hunch that I didn't yet know enough to write the best one so this conversation is quite illuminating re: commit style.

If it's even slightly confusing I would like to clarify, since bisect.c and git bisect are... very different!

I think Dscho's recommendation also will result in the patch overall being far more lucid.

Previous: Junio C HamanoNext: Jubilee Young
Message 8 of 10 in “Revenge of --bisect --first-parent”
  1. workingjubilee@gmail.comNov 5, 2019
  2. 1/1 Implement rev-list --bisect* --first-parentworkingjubilee@gmail.com, Nov 5, 2019
  3. Jonathan TanNov 5, 2019
  4. Junio C HamanoNov 6, 2019
  5. Johannes SchindelinNov 6, 2019
  6. Jonathan TanNov 6, 2019
  7. Junio C HamanoNov 7, 2019
  8. Jubilee YoungNov 7, 2019
  9. Jubilee YoungNov 7, 2019
  10. Jonathan TanNov 7, 2019

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.