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

Re: [PATCH] Simplify and fix --first-parent implementation

From
Stephen R. van den Berg <srb@cuci.nl>
Date
Apr 26, 2008, 11:59 UTC
Message-ID
<20080426115956.GB19558@cuci.nl>
In-Reply-To
<7viqy5o4om.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
>"Stephen R. van den Berg" <srb@cuci.nl> writes:
>> ---
>No explanation of what the patch does, nor justification of why it is a
>good change?

Sorry, thought that one-line description was enough. I'll resubmit this one more verbosely.

>Please also sign your patch.
Just with git-commit -s ?  Or do I need to get gpg involved?
Show 6 quoted lines
>The original code makes sure all the parents of the given commits are
>marked as SEEN (and SYMMETRIC_LEFT if needed), even when only it traverses
>the first parent.  By leaving the loop early, you are changing the
>semantics of the code.  Other parents, when reached from other paths while
>traversing the commit ancestry chain, will behave differently between the
>version with your patch and without.

Yes, I was and am aware of that. The previous behaviour appears to be bogus. I'll elaborate on resubmission.

P.S. No reaction on the other patches means that they're accepted, or do I need to resubmit them as well (signed)?

-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg.
Previous: Junio C HamanoNext: Jeff King
Message 3 of 5 in “Simplify and fix --first-parent implementation”
  1. Simplify and fix --first-parent implementationStephen R. van den Berg, Apr 25, 2008
  2. Junio C HamanoApr 26, 2008
  3. Stephen R. van den BergApr 26, 2008
  4. Jeff KingApr 26, 2008
  5. Junio C HamanoApr 26, 2008

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.