Re: [RFC/PATCH 0/7] Rework git core for native submodules
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 8, 2013, 17:04 UTC
- Message-ID
- <CALkWK0kJ=r6Lg1Z9kUexMtVnori5zNj9d2M=u5EAcdHOHNOCOw@mail.gmail.com>
- In-Reply-To
- <CAP8UFD16gwWjE7T75D7kUM-VOXhtZaSRGtEg8fW5kmuKDLTQHQ@mail.gmail.com>
Christian Couder wrote:
> What if instead of a git submodule I want to have an hg, or, God/Linus/deity > forbid, an SVN submodule, inside my git worktree? > What if I just want a very big movie or .tgz downloaded from somewhere else?
Since the link object is rooted to the tree, it's impossible to have anything but a working copy in the link directory. How can I have a non-git-worktree link directory without breaking checkout? I think that making it too generic will make the entire submodule experience suffer, because the implementation must be coded according to the lowest-common-denominator. This is the mistake that the tool mr makes: since it's so generic, it can't provide very powerful functionality specifically for git repositories.
I'll try to think of something else.