Re: Retrospectively add alternates to a repository?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]