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

infinite loop with git branch -D and packed-refs

From
NMNicholas Miell <nmiell@gmail.com>
Date
Jan 2, 2007, 06:44 UTC
Message-ID
<b566b20c0701012244l21f85472k83970c0c573ce105@mail.gmail.com>

# this is with 1.4.4.2, spearce says master is also affected. # (not subscribed, please Cc:)

mkdir test cd test git init-db touch blah git add blah git commit -m "blah" git checkout -b A git checkout -b B git checkout master git pack-refs --all --prune git branch -D A B # --> infinite loop in lockfile.c:remove_lock_file()

Next: Shawn O. Pearce
Message 1 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.