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

Re: Bug in alternates

From
Chris Packham <judge.packham@gmail.com>
Date
Aug 12, 2010, 00:50 UTC
Message-ID
<4C634543.5020301@gmail.com>
In-Reply-To
<201008120826.53902.michael@frog.wheelycreek.net>
On 11/08/10 17:26, Michael Geddes wrote:
> If you're not following the story, the Foo repo had itself as an alternate.
>

I had done a little messing with putting a UI around alternates a while back (if I ever find those elusive round tuits I'll pick it up again). There are also more complicated cases where you could end-up recursively including yourself, I managed to do that at least once in my messing around.

It shouldn't be too hard to add some safety checks to git gc or git repack but they should take the possibility of recursive alternates into account.

> Include me in replies please- I'm not on the list.
>
That's the norm around here.
Previous: Michael Geddes
Message 2 of 2 in “Bug in alternates”
  1. Michael GeddesAug 12, 2010
  2. Chris PackhamAug 12, 2010

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.