From: A Large Angry SCM <gitzilla@gmail.com>
To: Petr Baudis <pasky@suse.cz>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [RFC][RESEND][PATCH] Allow fetching from multiple repositories at once
Date: Sat, 23 Sep 2006 09:57:36 -0700 [thread overview]
Message-ID: <45156780.6070801@gmail.com> (raw)
In-Reply-To: <20060923164308.16334.49252.stgit@machine.or.cz>
Petr Baudis wrote:
> This patch enables fetching multiple repositories at once over the Git
> protocol (and SSH, and locally if git-fetch-pack is your cup of coffee
> there). This is done especially for the xorg people who have tons of
> repositories and dislike pulls much slower than they were used to with CVS.
> I'm eager to hear how this affects the situation.
>
> It's kind of "superproject" thing, basically, taking reverse approach than
> the subproject ideas. However, in practice I think it can be used for
> subprojects quite well and perhaps if I find some spare time during the day
> I will add the lightweight subproject support to Cogito, using this.
>
> So, you need some kind of porcelain for this. The idea is that instead of
> telling git-fetch-pack a single repository, you pass multiple --repo=
> parameters and refs always "belong" to the latest mentioned repository;
> when outputting the new ref values, the appropriate repo is mentioned near
> each ref. In order for this to be useful, on your local side you should
> share the objects database in some way - either using alternates (then
> you must fetch to an object database reachable from everywhere) or symlinked
> object databases.
>
> You still need to pass git-fetch-pack some URL in addition to the
> repositories - it is used only for git_connect(), the purpose is that
> repositories must be local directories so if you want to talk remote, you
> need to do something like
>
> git-fetch-pack git://kernel.org/pub/scm/git/git.git --repo=/pub/scm/git/git.git master next --repo=/pub/scm/cogito/cogito.git master
>
Can't this be done with a simple wrapper around git-fetch* ?
next prev parent reply other threads:[~2006-09-23 16:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-23 16:45 [RFC][RESEND][PATCH] Allow fetching from multiple repositories at once Petr Baudis
2006-09-23 16:57 ` A Large Angry SCM [this message]
2006-09-23 17:04 ` Petr Baudis
2006-09-23 17:23 ` Johannes Schindelin
2006-09-23 17:39 ` Petr Baudis
2006-09-23 17:54 ` Johannes Schindelin
2006-09-23 18:05 ` Petr Baudis
2006-09-23 18:14 ` Johannes Schindelin
2006-09-23 19:17 ` Petr Baudis
2006-09-23 19:35 ` Junio C Hamano
2006-09-23 17:06 ` Petr Baudis
2006-09-23 18:45 ` Jakub Narebski
2006-09-23 19:14 ` Petr Baudis
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=45156780.6070801@gmail.com \
--to=gitzilla@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=pasky@suse.cz \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.