Daniel Friesen wrote:
> However a key thing to note is that git submodules aren't anything 
> really special. Sure, they're integrated into git, but the only real 
> special feature about them is that you can target a specific commit 
> id... and heck, we don't even want that feature, that's the whole reason 
> it's problematic. Git submodules don't optimize cloning the repo, it 
> doesn't store any of the remote data in the repo, so whether you use a 
> submodule or not the actual task of getting those extension repos is 
> still that of cloning each and every one of those remote repos 
> individually.

Knowing how git just stores everything in files, it's likely that
submodules are just a plain text list inside a file. So it would be easy
to script an update to the list on a post-commit hook.


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to