From: Ryan Anderson Date: Thu, 09 Jun 2005 19:29:21 GMT Subject: Re: RFE: git relink Message-ID: <20050609192921.GH21076@mythryan2.michonline.com> In-Reply-To: <20050609191548.GG21076@mythryan2.michonline.com> On Thu, Jun 09, 2005 at 03:15:48PM -0400, Ryan Anderson wrote: > On Thu, Jun 09, 2005 at 02:35:51PM -0400, Jeff Garzik wrote: > > > > It would be nice if somebody were motivated enough to create a command > > that functions like: > > > > git relink repoA repoB repoC repoD... repoX > > > > which would examine > > > > repoA/.git > > repoB/.git > > repoC/.git > > repoD/.git > > > > and verify (updating, if necessary) that each of the A/B/C/D repos are > > hardlinked to repoX. > > Submitted a while ago, dunno what happened with it. This only does 2 > repositories, but it's trivial to do > for i in repoA repoB repoC repoD ; do git-relink-script "$i" repoX ; done And of course, I didn't actually look at my code, what my code really wants is: for i in repoA repoB repoC repoD ; do git-relink-script repoX "$i" ; done It should be relatively trivial to convert it over to the other behavior if it matters. -- Ryan Anderson sometimes Pug Majere