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 5, 2007, 03:04 UTC
Message-ID
<20070105030426.GD14042@spearce.org>
In-Reply-To
<7vy7oluthy.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 7 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> 
> > Nicholas Miell reported that `git branch -D A B` failed if both refs
> > A and B were packed into .git/packed-refs.  This happens because the
> > same pack_lock instance was being enqueued into the lock list twice,
> 
> I do not like this, actually.
[snip]
> In other words, I am suspecting this might be a cleaner fix.
Ack'd.  I like your patch better.
-- 
Shawn.
Previous: Junio C Hamano
Message 6 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.