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

Re: Git v2.11.0 breaks max depth nested alternates

From
Philip Oakley <philipoakley@iee.org>
Date
Dec 5, 2016, 12:09 UTC
Message-ID
<4F8F730766044D0DB6CF89DDC579F36D@PhilipOakley>
In-Reply-To
<20161205071822.ndeswelgj5epej5k@sigill.intra.peff.net>
From: "Jeff King" <peff@peff.net>
Show 19 quoted lines
> On Sun, Dec 04, 2016 at 11:22:52AM -0000, Philip Oakley wrote:
>
>> > Ever since 722ff7f876 (receive-pack: quarantine objects until
>> > pre-receive accepts, 2016-10-03, v2.11.0), Git has been quarantining
>> > objects and packs received during an incoming push into a separate
>> > objects directory and using the alternates mechanism to make them
>> > available until they are either accepted and moved into the main
>> > objects directory or rejected and discarded.
>>
>> Is there a step here that after the accepted/rejected stage, it should 
>> then
>> decrement the limit back to its original value. The problem description
>> suggests that might be the case.
>
> No. I thought that at first, too, but this increment happens in the
> sub-process which is using the extra level of alternates for its entire
> lifetime. So it "resets" it by exiting, and the parent process never
> increments its internal value at all.
>

Thanks for the clarification. -- Philip

Previous: Jeff King
Message 7 of 7 in “Git v2.11.0 breaks max depth nested alternates”
  1. Kyle J. McKayDec 4, 2016
  2. Jeff KingDec 4, 2016
  3. Kyle J. McKayDec 4, 2016
  4. Jeff KingDec 5, 2016
  5. Philip OakleyDec 4, 2016
  6. Jeff KingDec 5, 2016
  7. Philip OakleyDec 5, 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.