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

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

From
BRBarret Rhoden <brho@google.com>
Date
Jun 3, 2019, 15:26 UTC
Message-ID
<10bbee35-4df1-1a6d-8301-6866c7445e2d@google.com>
In-Reply-To
<20190601210925.15339-1-michael@platin.gs>
Hi Michael -
On 6/1/19 5:09 PM, michael@platin.gs wrote:
Show 15 quoted lines
> 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,
Barret
Previous: michael@platin.gsNext: Junio C Hamano
Message 2 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.