Re: [RFC/PATCH 0/7] Rework git core for native submodules
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 7, 2013, 20:57 UTC
- Message-ID
- <CALkWK0k_vmXZr-x8=ZctouWbuVgv-1sptC0WX2aJ+yYD-T8cxA@mail.gmail.com>
- In-Reply-To
- <5161D3C5.9060804@web.de>
Jens Lehmann wrote:
> * Easier coding, as we find all information in a single object.
It's not just the difference between a single location versus multiple locations. It's about the core object code of git parsing links, as opposed to a fringe submodule.c/ submodule.sh parsing .gitmodules. When you push git-submodule.sh into core, you'll have to constantly call functions to parse .gitmodules and get the information. With links, all that information is free, provided you've parsed the object.