Re: [PATCH v4 3/3] config: add '--show-origin' option to print the origin of a config value
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Feb 16, 2016, 09:52 UTC
- Message-ID
- <AC15F01E-4B2C-4E38-98D7-F2D5B139B488@gmail.com>
- In-Reply-To
- <xmqq4md9o7da.fsf@gitster.mtv.corp.google.com>
On 16 Feb 2016, at 00:56, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Jeff King <peff@peff.net> writes: > >>> An existing test t3300 tells me that a test that uses a path with a >>> tab needs to be skipped on FAT/NTFS. If your goal is to make sure >>> dquote is exercised, can't we just do with a path with a SP in it or >>> something? >> >> It has to trigger quote_c_style(). You can see the complete set of >> quoted characters in quote.c:sq_lookup, but space is not one of them. >> Probably double-quote or backslash is the best bet, as the rest are all >> control characters. > > Yeah, 3300 seems to use dq for that. > > Thanks for checking.
Thanks for the pointer Junio. I didn't think of FAT/NTFS. I will mimic 3300 and use double quotes.
Thanks, Lars