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

Re: [PATCH 2/2] files_read_raw_ref: prevent infinite retry loops in general

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Oct 10, 2016, 10:34 UTC
Message-ID
<d01fa7f9-827c-fc56-2d4d-69ba87ae851a@alum.mit.edu>
In-Reply-To
<20161006164842.yzrdigfimzvgkubv@sigill.intra.peff.net>
On 10/06/2016 06:48 PM, Jeff King wrote:
Show 10 quoted lines
> Limit the number of retries to 3. That should be adequate to
> prevent any races, while preventing the possibility of
> infinite loops if the logic fails to handle any other
> possible error modes correctly.
> 
> After the fix in the previous commit, there's no known way
> to trigger an infinite loop, but I did manually verify that
> this fixes the test in that commit even when the code change
> is not applied.
> [...]
This patch is
Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu>
Michael
Previous: Jeff KingNext: Jeff King
Message 3 of 7 in “fix infinite loop in ref resolution”
  1. 0/2 fix infinite loop in ref resolutionJeff King, Oct 6, 2016
  2. 2/2 files_read_raw_ref: prevent infinite retry loops in generalJeff King, Oct 6, 2016
  3. Michael HaggertyOct 10, 2016
  4. 1/2 files_read_raw_ref: avoid infinite loop on broken symlinksJeff King, Oct 6, 2016
  5. Johannes SixtOct 6, 2016
  6. 1/2 files_read_raw_ref: avoid infinite loop on broken symlinksJeff King, Oct 6, 2016
  7. Michael HaggertyOct 10, 2016

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.