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

Re: [PATCH] Fix infinite loop when deleting multiple packed refs.

From
Junio C Hamano <junkio@cox.net>
Date
Jan 2, 2007, 08:44 UTC
Message-ID
<7vtzz9x1fo.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070102081709.GA28779@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
>  Fixed.  ;-)
>
>  Junio, this applies to master, but hopefully could also apply to
>  maint, as the bug also shows up there.

I see a few instances of single static lock_file variable in our code, but all of them seem to be locking the index and only once, so they should be safe.

Thanks.
Previous: Shawn O. PearceNext: Shawn O. Pearce
Message 3 of 6 in “infinite loop with git branch -D and packed-refs”
  1. Nicholas MiellJan 2, 2007
  2. Fix infinite loop when deleting multiple packed refs.Shawn O. Pearce, Jan 2, 2007
  3. Junio C HamanoJan 2, 2007
  4. Shawn O. PearceJan 2, 2007
  5. Junio C HamanoJan 2, 2007
  6. Shawn O. PearceJan 5, 2007

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.