On Wed, Sep 24, 2008 at 11:13 AM, Lars Hjemli <hjemli@xxxxxxxxx> wrote: > On Wed, Sep 24, 2008 at 10:00 AM, P. Christeas <p_christ@xxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html