Re: Retrospectively add alternates to a repository?
- From
Jeff King <peff@peff.net>
- Date
- Feb 27, 2010, 12:30 UTC
- Message-ID
- <20100227123056.GA22382@coredump.intra.peff.net>
- In-Reply-To
- <loom.20100227T123539-643@post.gmane.org>
On Sat, Feb 27, 2010 at 11:43:55AM +0000, Steve Folly wrote:
> I now have a plan to write a script to attach and > detach repositories to and from local mirrors on demand:
I think they should work, but:
Show 5 quoted lines
> 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).
-Peff