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

Re: [PATCH V3] git-rev-list: add --first-parent-not flag

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 7, 2022, 21:02 UTC
Message-ID
<xmqqiluv8dk5.fsf@gitster.g>
In-Reply-To
<CAMKO5CsGJdDYvBsb8_-AkpAeeoVGY0Qhv4sX8TimJ4eqR=sLvA@mail.gmail.com>
Jerry Zhang <jerry@skydio.com> writes:
Show 15 quoted lines
>> Assuming that propagating the UNINTERESTING bit only along the first
>> parent chain is a way to achieve some meaningful result (which, as I
>> said, I am not convinced about), I probably would call this option
>> "--exclude-first-parent-only" and explain it perhaps like so
>>
>>         Follow only the first-parent chain from commits given with a
>>         {caret} in front of them, to find commits to exclude.
>>
>>         This prevents commits merged from the side branches from
>>         becoming uninteresting and instead be shown if they are
>>         reachable from the positive end of the range.
>>
>> I am debating myself if the second paragraph is necessary, though.
>> I suspect that the first two-line paragraph may be sufficient.
> Sure, I'll update the patch and commit text with these changes.

OK. Also the log message for the commit needs to be updated so that those who read "git log" and find the commit for this change will not have to ask the same question as I asked.

Thanks.
Previous: Jerry ZhangNext: Jerry Zhang
Message 4 of 5 in “git-rev-list: add --first-parent-not flag”
  1. git-rev-list: add --first-parent-not flagJerry Zhang, Jan 5, 2022
  2. Junio C HamanoJan 6, 2022
  3. Jerry ZhangJan 7, 2022
  4. Junio C HamanoJan 7, 2022
  5. git-rev-list: add --exclude-first-parent-only flagJerry Zhang, Jan 11, 2022

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.