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

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

From
Shawn O. Pearce <spearce@spearce.org>
Date
Jan 2, 2007, 08:47 UTC
Message-ID
<20070102084741.GA28898@spearce.org>
In-Reply-To
<7vtzz9x1fo.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 12 quoted lines
> "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.

I just realized that my patch used 'calloc' and not 'xcalloc'. Would you mind correcting it for me? ;-)

-- 
Shawn.
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 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.