Re: [PATCH 5/5] Add gitmodules(5)
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- Jun 12, 2007, 11:12 UTC
- Message-ID
- <8c5c35580706120412o516ec39p71332d23823d7389@mail.gmail.com>
- In-Reply-To
- <466E7D7E.7BAB2FD@eudaptics.com>
On 6/12/07, Johannes Sixt <J.Sixt@eudaptics.com> wrote:
Show 34 quoted lines
> Lars Hjemli wrote: > > > > (readded the gitlist) > > > > On 6/12/07, Johannes Sixt <J.Sixt@eudaptics.com> wrote: > > > Lars Hjemli wrote: > > > > Multiple checkout paths for a single submodule will bring havoc on > > > > this plan, so I need to ask: what is the use-case for multiple > > > > checkout paths? > > > > > > A use-case is the admin directory in the KDE repository. It has: > > > > > > KDE (superproject) > > > +- kdelibs (subproject) > > > | +- admin (subproject) > > > | +- subdir1 > > > | +- ... > > > +- kdebase (subproject) > > > | +- admin (subproject) > > > | +- subdir2 > > > | +- ... > > > +- kdenetwork (subproject) > > > | +- admin (subproject) > > > | +- subdir3 > > > | +- ... > > > ... > > > > But in this case, 'admin' isn't a submodule/subproject contained by > > KDE, right? It's contained in three different submodules/subprojects: > > kdelibs, kdebase and kdenetwork. > > Notice how kdelibs, kdebase and kdenetwork are both submodule and > supermodule: They host the submodule admin and are hosted by KDE. >
Exactly my point ;-)
> (If I missed the point, then it's because I didn't follow the > discussion; I jumped in because I noticed the symlink proposal by > chance.)
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. I would not expect the KDE 'supersuperproject' to know about admin at all, neither in its index nor .gitmodules.
-- larsh