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

Re: [PATCH] commit-reach: fix in_merge_bases_many bug

From
Derrick Stolee <stolee@gmail.com>
Date
Oct 2, 2020, 19:47 UTC
Message-ID
<c6b163dd-d5f4-73a8-43ac-22460d1079ec@gmail.com>
In-Reply-To
<xmqqv9fs8nre.fsf@gitster.c.googlers.com>
On 10/2/2020 2:51 PM, Junio C Hamano wrote:
Show 12 quoted lines
> "Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
> 
>> The fix itself is to swap min_generation with a max_generation in
>> repo_in_merge_bases_many().
>>
>> Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de>
>> Reported-by: Srinidhi Kaushik <shrinidhi.kaushik@gmail.com>
>> Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
> 
> The order of these looked iffy so I rearranged them in chrono order,
> Srinidhi's series found it broken, and with Dscho's help, fix was
> produced and you sent it with your sign off.

Sure. I can agree with that chronological order and will keep that in mind for next time.

Show 11 quoted lines
>>  commit-reach.c        |  8 ++++----
>>  t/helper/test-reach.c |  2 ++
>>  t/t6600-test-reach.sh | 30 ++++++++++++++++++++++++++++++
>>  3 files changed, 36 insertions(+), 4 deletions(-)
> 
> I've applied this and then rebased Srinidhi's latest on top, with
> the following to re-enable the commit-graph in the codepath.  t5533
> and t6600 passes and when the fix in the message I am responding to
> is reverted, t5533 again fails.
> 
> Thanks.

Thanks for double-checking. I also think that dropping the "hide the error" patch is prudent.

Thanks, -Stolee

Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 7 in “commit-reach: fix in_merge_bases_many bug”
  1. commit-reach: fix in_merge_bases_many bugDerrick Stolee via GitGitGadget, Oct 2, 2020
  2. Junio C HamanoOct 2, 2020
  3. Junio C HamanoOct 2, 2020
  4. Derrick StoleeOct 2, 2020
  5. Junio C HamanoOct 2, 2020
  6. Derrick StoleeOct 2, 2020
  7. Srinidhi KaushikOct 2, 2020

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.