Re: [RFC/PATCH 0/7] Rework git core for native submodules
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 7, 2013, 19:17 UTC
- Message-ID
- <CALkWK0kqE_s3QT7NPRFqTtmhWQDZj4YxsTw55eVTaVbT4H04tA@mail.gmail.com>
- In-Reply-To
- <CALkWK0=v6SD_zEw=taauYWvYD5pHzdrED0vrhuFHKeS2zfgxSw@mail.gmail.com>
Ramkumar Ramachandra wrote:
Show 9 quoted lines
>> The only proposed change that seems to me to be impossible with the >> current .gitmodules approach is the "submodule in a non-initialized >> submodule" feature, but I've never seen anyone ask for that and it seems >> likely to open a whole can of worms where the behaviour is likely to >> vary with $PWD. The current hierarchical approach provides sensible >> encapsulation of repositories and is simple to understand: once you're >> in a repository nothing above its root directory affects you. > > That can be implemented in the current submodule system too, fwiw.
And yes, it's going to be very ugly: I imagine special refs pointing to blobs, or something like that. Then again, what do end-users care about?