Submodule URL

From: Hilco Wijbenga <hidden>
Date: 2016-06-15 22:51:31

Hi all,

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.

In essence, I'm setting up 2 separate, bare repositories on the local
file system. One is intended to be a submodule, the other the umbrella
project. I then try to clone the umbrella project. Although I use
complete, absolute file:// URLs git submodule update --init fails
because .gitmodules uses a relative URL instead of the absolute URL I
provided initially. (Naturally, a relative URL could work too but it
would have to be a different one.) :-)

Should I use a different syntax? Or are file:// URLs not supported for
submodules? Or am I simply misunderstanding how this is supposed to
work?

Cheers,
Hilco

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help