Re: Git submodule enhancements
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Sep 24, 2008, 09:25 UTC
- Message-ID
- <8c5c35580809240225ld59fe28g10ecd09d1962ef3c@mail.gmail.com>
- In-Reply-To
- <8c5c35580809240213v5198d2abh489915dc1133c75@mail.gmail.com>
On Wed, Sep 24, 2008 at 11:13 AM, Lars Hjemli <hjemli@gmail.com> wrote:
Show 16 quoted lines
> 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