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

Re: [PATCH] blame - fix some issues identified by coverage report.

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 3, 2019, 18:08 UTC
Message-ID
<xmqqk1e2v8xr.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<10bbee35-4df1-1a6d-8301-6866c7445e2d@google.com>
Barret Rhoden <brho@google.com> writes:
Show 21 quoted lines
> Hi Michael -
>
> On 6/1/19 5:09 PM, michael@platin.gs wrote:
>> From: Michael Platings <michael@platin.gs>
>>
>> Thanks to Derrick Stolee for highlighting missing coverage.
>>
>> In the case of "certainties[i] = CERTAINTY_NOT_CALCULATED" this was
>> defeating an optimization that preserved results of calculations
>> between line-matching passes. This had caused other code to never
>> be executed - that code is now executed and only discards calculation
>> results that are no longer valid.
>>
>> In the case of "max_search_distance_b = 0" this was never executed
>> because another statement was added earlier in the function to return
>> early in such a case.
>>
>> Signed-off-by: Michael Platings <michael@platin.gs>
>
> If it's OK with you, I can squash this into your existing patch in the
> blame-ignore patch set.

Thanks, both. That'd make my life easier ;-) by allowing me to ignore this patch for now, knowing you two are on top of the issue.

Previous: Barret Rhoden
Message 3 of 3 in “blame - fix some issues identified by coverage report.”
  1. blame - fix some issues identified by coverage report.michael@platin.gs, Jun 1, 2019
  2. Barret RhodenJun 3, 2019
  3. Junio C HamanoJun 3, 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.