Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

Re: [PATCH 5/5] Add gitmodules(5)

From: Josef Weidendorfer <hidden>
Date: 2016-06-15 22:43:15

On Tuesday 12 June 2007, Lars Hjemli wrote:
On 6/12/07, Johannes Sixt [off-list ref] wrote:
quoted
quoted
quoted
KDE (superproject)
 +- kdelibs (subproject)
 |   +- admin (subproject)
 |   +- subdir1
 |   +- ...
 +- kdebase (subproject)
 |   +- admin (subproject)
 |   +- subdir2
 |   +- ...
 +- kdenetwork (subproject)
 |   +- admin (subproject)
 |   +- subdir3
 |   +- ...
 ...
In this case, I would assume that e.g. kdelibs contain a submodule
entry for path admin in its index, accompanied by a .gitmodules file
saying that the path admin is mapped to this or that submodule.
Exactly. That's just the "submodule" in "submodule" case we should
support, too.
I 
would not expect the KDE 'supersuperproject' to know about admin at
all, neither in its index nor .gitmodules.
The admin submodule contains KDE specific things. So of course it
also would be a submodule in the grand whole KDE superduper module.
But that does not really matter.

However, to not have a lot of copies of the admin submodule
in

 .git/submodule/admin
 .git/submodule/kdelibs/.git/submodule/admin
 .git/submodule/kdebase/.git/submodule/admin
 .git/submodule/kdenetwork/.git/submodule/admin

the just suggested submodule.<name>.repopath to specify a repository
outside of .git/submodule to be shared by kdelibs,kdebase,... would
be fine.

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