Re: [PATCH 1/2] submodule: preserve all arguments exactly when recursing
- From
Kevin Ballard <kevin@sb.org>
- Date
- Nov 3, 2010, 05:36 UTC
- Message-ID
- <B581ED92-DC3D-4F62-99B1-3D02C95471DE@sb.org>
- In-Reply-To
- <20101103053019.GC10631@burratino>
On Nov 2, 2010, at 10:30 PM, Jonathan Nieder wrote:
Show 11 quoted lines
> 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