From: Junio C Hamano Date: Sat, 02 Jun 2007 10:12:19 GMT Subject: Re: [PATCH] Let .git/config specify the url for submodules Message-ID: <7vbqfyvf5o.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <8c5c35580706020253j4e24785cyce712460d8d1a1b8@mail.gmail.com> "Lars Hjemli" 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, but other than that yes.