From: "Lars Hjemli" <hjemli@gmail.com>
To: "P. Christeas" <p_christ@hol.gr>
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: Git submodule enhancements
Date: Wed, 24 Sep 2008 11:25:21 +0200 [thread overview]
Message-ID: <8c5c35580809240225ld59fe28g10ecd09d1962ef3c@mail.gmail.com> (raw)
In-Reply-To: <8c5c35580809240213v5198d2abh489915dc1133c75@mail.gmail.com>
On Wed, Sep 24, 2008 at 11:13 AM, Lars Hjemli <hjemli@gmail.com> wrote:
> On Wed, Sep 24, 2008 at 10:00 AM, P. Christeas <p_christ@hol.gr> wrote:
> + # Cloned mode: we try to figure out the submodule
> + # path in the remote origin.
> + # FIXME: we do use "../" because the remote is the .git/
> + url=$(resolve_relative_url "../$path/.git")
> + fi
> +
> git config submodule."$name".url "$url" ||
> die "Failed to register url for submodule path '$path'"
> --
> 1.6.0.1
>
>
> It looks like --cloned requires the downstream to know which
> submodules are available from the same remote as the supermodule (and
> with the same path as registered in the supermodule)
Hmm, after reading through this once more I guess you're trying to
clone a non-bare repository, possibly also lacking a .gitmodules file
(hence the --force)?
--
larsh
next prev parent reply other threads:[~2008-09-24 9:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200809241100.30758.p_christ@hol.gr>
2008-09-24 9:13 ` Git submodule enhancements Lars Hjemli
2008-09-24 9:25 ` Lars Hjemli [this message]
2008-09-24 9:46 ` Lars Hjemli
2008-09-24 10:14 ` P. Christeas
2008-09-24 16:39 ` René Scharfe
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=8c5c35580809240225ld59fe28g10ecd09d1962ef3c@mail.gmail.com \
--to=hjemli@gmail.com \
--cc=git@vger.kernel.org \
--cc=p_christ@hol.gr \
/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).