From: Kevin Ballard Date: Wed, 03 Nov 2010 05:36:25 GMT Subject: Re: [PATCH 1/2] submodule: preserve all arguments exactly when recursing Message-ID: In-Reply-To: <20101103053019.GC10631@burratino> On Nov 2, 2010, at 10:30 PM, Jonathan Nieder wrote: > Kevin Ballard wrote: > >> I tried to write tests for this, but there are only two ways to get args >> with spaces to be accepted and passed to the recursive invocation. >> The first is via the --reference flag, but I don't think it really makes >> sense to use that flag in connection with --recursive and was not comfortable >> using it in a test. > > Could you explain this further? I think --reference pointing to a > repository with objects shared by multiple (sub)projects makes a lot > of sense. I hadn't given it a lot of thought, but I suppose you're right. I'm used to using submodules to pull in disparate projects that don't share objects, but I can imagine having repos that do share objects. I will try to write a test for this using --reference. -Kevin Ballard