Thread (14 messages) flat view 14 messages, 4 authors, 2016-06-15

Re: [PATCH] Let .git/config specify the url for submodules

From: Sven Verdoolaege <hidden>
Date: 2016-06-15 22:43:13

On Fri, Jun 01, 2007 at 04:45:06PM +0200, Lars Hjemli wrote:
On 6/1/07, Sven Verdoolaege [off-list ref] wrote:
quoted
On Fri, Jun 01, 2007 at 11:25:42AM +0200, Lars Hjemli wrote:
quoted
[path '$path']
 submodule=modulename
 url=/some/url
Wouldn't it make more sense to have

[path '$path']
       submodule=modulename

and

[submodule '$modulename']
       url=/some/url

in case the same module appears in more than one path?
Yes, that would be a properly normalized model.

Hmm.... Maybe we could allow both variations, with your suggestion
overriding mine if both are present? (I think there would be many
cases where the extra level of [submodule...] wouldn't be needed.
Hmm.... I was thinking that the extra "path" level could be optional,
i.e., if there is no path.$path.submodule, then the name of the
submodule would simply be $path.

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