On 6/2/07, Junio C Hamano <junkio@xxxxxxx> wrote:
"Lars Hjemli" <hjemli@xxxxxxxxx> writes: > So I'll make 'git-submodule' expect the .gitmodules layout to be like this: > > [submodule 'xyz'] > url=git://example.com/xyz.git > path=xyz1 > path=xyz2 > > And submodule.$name.path should be optional: if no submodule.*.path > entry exists for a given $path, submodule $name == $path. > > Ok? I do not think having more than one path for a given submodule makes much sense
Me neither, but it was mentioned as a possibility to have the same repo checked out in multiple paths simultaneously. It does raise an issue of how to push changes back into .git/submodules/$name.git tough (git-submodule push). My initial plan for this was to push into the branch registered for each path: [submodule 'xyz'] url=git://example.com/xyz.git [path 'xyz1'] submodule=xyz branch=stable [path 'xyz2'] submodule=xyz branch=bleedingedge but there is probably other/better solutions.
but other than that yes.
Thanks -- larsh - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html