From: Jeff King Date: Sat, 22 May 2010 05:38:46 GMT Subject: Re: Retrospectively add alternates to a repository? Message-ID: <20100522053846.GA29118@coredump.intra.peff.net> In-Reply-To: On Sun, May 16, 2010 at 04:55:21PM +0300, Felipe Contreras wrote: > On Sat, Feb 27, 2010 at 3:30 PM, Jeff King 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