git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: RFE: git relink

From
RARyan Anderson <ryan@michonline.com>
Date
Jun 9, 2005, 19:29 UTC
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:
Show 20 quoted lines
> 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
Previous: Ryan AndersonNext: Junio C Hamano
Message 3 of 4 in “RFE: git relink”
  1. Jeff GarzikJun 9, 2005
  2. Ryan AndersonJun 9, 2005
  3. Ryan AndersonJun 9, 2005
  4. Junio C HamanoJun 11, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.