Re: git submodules
On Mon, Jul 28, 2008 at 08:55:45PM +0000, Pierre Habouzit wrote:
Show 12 quoted lines
> On Mon, Jul 28, 2008 at 08:23:39PM +0000, Nigel Magnay wrote:
> That too indeed (the "easier to clone" bit). OTOH, I don't like the
> .git/submodules idea a lot, if you mean to put a usual $GIT_DIR layout
> inside of it. With what I propose, you find objects for all your
> super/sub-modules in the usual store, which eases many things.
> Especially, I believe that when you replace a subdirectory of a project
> with a submodule, git-blame could benefit quite a lot from this to be
> able to glue history back through the submodule limits, without having
> to refactor a _lot_ of code: it would merely have to dereference so
> called "gitlinks" to the commit then tree, hence twice, and just do its
> usual work, with your proposal, we still rely on having to recurse in
> subdirectories which requires more boilerplate code.
And of _course_ this is also true for git-log, which is like 10x as
important for me (like I don't remember if I used git-blame this year,
whereas I used git-log in the last 10 minutes ;p)
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org