From: Ryan Anderson <ryan@michonline.com>
To: Ryan Anderson <ryan@michonline.com>
Cc: Jeff Garzik <jgarzik@pobox.com>, Git Mailing List <git@vger.kernel.org>
Subject: Re: RFE: git relink
Date: Thu, 9 Jun 2005 15:29:21 -0400 [thread overview]
Message-ID: <20050609192921.GH21076@mythryan2.michonline.com> (raw)
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
next prev parent reply other threads:[~2005-06-09 19:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 18:35 RFE: git relink Jeff Garzik
2005-06-09 19:15 ` Ryan Anderson
2005-06-09 19:29 ` Ryan Anderson [this message]
2005-06-11 3:44 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050609192921.GH21076@mythryan2.michonline.com \
--to=ryan@michonline.com \
--cc=git@vger.kernel.org \
--cc=jgarzik@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).