Re: [PATCHv3 2/2] git submodule: Fix adding of submodules at paths with ./, .. and //
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Mar 3, 2009, 14:58 UTC
- Message-ID
- <49AD45A7.10906@drmicha.warpmail.net>
- In-Reply-To
- <alpine.DEB.1.00.0903031529040.6399@intel-tinevez-2-302>
Johannes Schindelin venit, vidit, dixit 03.03.2009 15:29:
Show 12 quoted lines
> Hi, > > On Tue, 3 Mar 2009, Michael J Gruber wrote: > >> Make 'git submodule add' normalize the submodule path in the >> same way as 'git ls-files' does, so that 'git submodule init' looks up >> the information in .gitmodules with the same key under which 'git >> submodule add' stores it. >> >> This fixes 4 known breakages. > > Maybe it is time to turn this into a builtin?
Uhm, you mean all of submodule or just the normalize part? Isn't git submodule up for some rewriting (.gitmodule...) anyways?
I suggest applying the tests and fix before Bob the In-Builder rolls in. And no, Bob's not my alter ego...
Michael