Re: Retrospectively add alternates to a repository?
- From
Jeff King <peff@peff.net>
- Date
- May 22, 2010, 05:38 UTC
- Message-ID
- <20100522053846.GA29118@coredump.intra.peff.net>
- In-Reply-To
- <AANLkTin5igmPVoISyyj2DtRV6OWagDq-boBkP6Zqq_z-@mail.gmail.com>
On Sun, May 16, 2010 at 04:55:21PM +0300, Felipe Contreras wrote:
Show 12 quoted lines
> On Sat, Feb 27, 2010 at 3:30 PM, Jeff King <peff@peff.net> wrote: > > 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?
Yes, it's a bug. I don't think anybody is looking at it. I started to write a length explanation, but the more I thought about it, the more I am not actually sure what is going on. So please, if you are interested, take a look and see if you can come up with a patch.
-Peff