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

Re: Retrospectively add alternates to a repository?

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 16, 2010, 13:55 UTC
Message-ID
<AANLkTin5igmPVoISyyj2DtRV6OWagDq-boBkP6Zqq_z-@mail.gmail.com>
In-Reply-To
<20100227123056.GA22382@coredump.intra.peff.net>
On Sat, Feb 27, 2010 at 3:30 PM, Jeff King <peff@peff.net> wrote:
Show 9 quoted lines
> On Sat, Feb 27, 2010 at 11:43:55AM +0000, Steve Folly wrote:
>> attach =
>>     echo "/path/to/mirror" > .git/objects/info/alternates &&
>>     git repack -adl &&
>>     git repack -ad &&
>>     git repack -adl
>
> I don't think the first repack is doing anything (I showed it in my
> example only to show that it was not actually working).
That's a bug, isn't it? Has anyone taken a look into it?
-- 
Felipe Contreras
Previous: Jeff KingNext: Jeff King
Message 6 of 7 in “Retrospectively add alternates to a repository?”
  1. Steve FollyFeb 26, 2010
  2. Tay Ray ChuanFeb 27, 2010
  3. Jeff KingFeb 27, 2010
  4. Steve FollyFeb 27, 2010
  5. Jeff KingFeb 27, 2010
  6. Felipe ContrerasMay 16, 2010
  7. Jeff KingMay 22, 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.