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
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 6, 2019, 11:30 UTC
Message-ID
<nycvar.QRO.7.76.6.1911061228340.46@tvgsbejvaqbjf.bet>
In-Reply-To
<xmqqtv7hvi6r.fsf@gitster-ct.c.googlers.com>
Hi,
On Wed, 6 Nov 2019, Junio C Hamano wrote:
Show 37 quoted lines
> Jonathan Tan <jonathantanmy@google.com> writes:
>
> > Your commit message title should be of the form "<component>: <change>",
> > e.g.:
> >
> >   rev-list: support --first-parent with --bisect*
>
> Good suggestion.
>
> > I would be much more laconic (in particular, omitting subjective terms
> > like "minutiae" and "mountains of irrelevant data"), but perhaps that is
> > just a matter of subjective style.
>
> FWIW, I had the same reaction.  That part of the message was too
> noisy without adding much actual value.
>
> >> Note, bisecting on --first-parent becomes part of findall's previously
> >> existing pass-through as an "option state" flag.
> >
> > I don't understand this part.
>
> Me neither.
>
> > Also, clarify in the commit message somewhere that this commit does not
> > change the behavior of "git bisect".
>
> s/\.$/ when used without the "--first-parent" option&/; you mean?
>
> > As for the diff, besides my comments below, a change in the user-facing
> > documentation of "rev-list" is needed, since --bisect and --first-parent
> > now work together.
>
> True.  I too am, like you are, happy to see that these two options
> made to work well together.
>
> Thanks, both, for the patch and useful comments.  My own review on
> it may take a bit more time.

While I sadly won't have time to review this patch, let me first state that I am very excited that you revived this stalled patch. Thank you!

In addition to Jonathan's comments, I would like to add another one: I would have loved for this patch to be split in two, the first one introducing the `bisect_flags` and using it with `BISECT_FIND_ALL` instead of doing the `find_all` thing, the second one building the first-parent feature on top.

Thanks, Dscho

Previous: Junio C HamanoNext: Jonathan Tan
Message 5 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.