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

Re: [PATCH] rev-list: make "struct rev_list_info" static to the only user

From
Jeff King <peff@peff.net>
Date
Jul 20, 2025, 00:04 UTC
Message-ID
<20250720000426.GB743449@coredump.intra.peff.net>
In-Reply-To
<fc4da804-37ed-4425-8dda-14cfcb607906@web.de>
On Sat, Jul 19, 2025 at 02:36:04PM +0200, René Scharfe wrote:
Show 18 quoted lines
> >> @@ -652,7 +660,7 @@ int cmd_rev_list(int argc,
> >>  	 */
> >>  	/*
> >>  	 * NEEDSWORK: These loops that attempt to find presence of
> >> -	 * options without understanding that the options they are
> >> +	 * options without understanding the options they are
> >>  	 * skipping are broken (e.g., it would not know "--grep
> >>  	 * --exclude-promisor-objects" is not triggering
> >>  	 * "--exclude-promisor-objects" option).  We really need
> > 
> > This tacked-on bit seems funny to me. Isn't the original more correct?
> > The loops do not understand that the options are broken.
> 
> No, the options are fine, but the loops are broken -- they cannot tell
> what they are looking at is an option or an argument of a preceding
> option, yet they ignore that latter possibility.  So the word "that"
> is best left out.  I also don't see a connection to the struct move,
> though.
Ah, yeah, that makes more sense. It is an awkward sentence either way. :)
-Peff
Previous: René ScharfeNext: Junio C Hamano
Message 4 of 9 in “rev-list: make "struct rev_list_info" static to the only user”
  1. rev-list: make "struct rev_list_info" static to the only userJunio C Hamano, Jul 18, 2025
  2. Jeff KingJul 19, 2025
  3. René ScharfeJul 19, 2025
  4. Jeff KingJul 20, 2025
  5. Junio C HamanoJul 20, 2025
  6. rev-list: update a NEEDSWORK commentJunio C Hamano, Jul 21, 2025
  7. Jeff KingJul 22, 2025
  8. Kristoffer HaugsbakkJul 22, 2025
  9. Junio C HamanoJul 22, 2025

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.