git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hilco Wijbenga <hilco.wijbenga@gmail.com>
To: Seth Robertson <in-gitvger@baka.org>
Cc: Git Users <git@vger.kernel.org>
Subject: Re: Submodule URL
Date: Mon, 27 Jun 2011 18:28:18 -0700	[thread overview]
Message-ID: <BANLkTinSbV4MQhM5zCDg7WtxKyBMWEqXaw@mail.gmail.com> (raw)
In-Reply-To: <201106272258.p5RMwOxK028539@no.baka.org>

On 27 June 2011 15:58, Seth Robertson <in-gitvger@baka.org> wrote:
> In message <BANLkTikyZxiW_t27Y4bXCPBjbJd_DYbOyw@mail.gmail.com>, Hilco Wijbenga writes:
>
>    As I was creating a script to support a question about submodules I
>    ran into something that I don't understand. I've attached a simple
>    script that fails to execute properly. I don't understand why.
>
> Perhaps you should consider gitslave as an alternative to
> git-submodule, depending on your development workflow it may be better
> (or worse).

FYI, yes, somebody read the entire tutorial and learnt something. ;-)

> gitslave (http://gitslave.sf.net) is useful when you control and
> develop on the subprojects at more of less the same time as the
> superproject, and furthermore when you typically want to tag, branch,
> push, pull, etc all repositories at the same time.

:-) Perfect! That's seems to be *exactly* what I need.

How hard is it to turn an umbrella project with content and quite a
few submodules (only 1 level deep) into a gitslave repo?

> git-submodule is better when you do not control the subprojects or
> more specifically wish to fix the subproject at a specific revision
> even as the subproject changes
>
> However, more directly to your question, we see that using absolute
> pathnames (not file: URLs) works.  See
> https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial
>
> If this works for you and file:// does not, I'd say it was a bug in
> git.

Well, it seems like a bug to me then. Still, maybe I made a mistake in
my script. I hope somebody else can chime in too.

      parent reply	other threads:[~2011-06-28  1:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27 22:38 Submodule URL Hilco Wijbenga
     [not found] ` <201106272258.p5RMwOxK028539@no.baka.org>
2011-06-28  1:28   ` Hilco Wijbenga [this message]

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=BANLkTinSbV4MQhM5zCDg7WtxKyBMWEqXaw@mail.gmail.com \
    --to=hilco.wijbenga@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=in-gitvger@baka.org \
    /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).