Re: [PATCH v4 3/3] config: add '--show-origin' option to print the origin of a config value

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH v4 3/3] config: add '--show-origin' option to print the origin of a config value

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:08:15

Jeff King [off-list ref] writes:
quoted
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.

Re: [PATCH v4 3/3] config: add '--show-origin' option to print the origin of a config value

From: Lars Schneider <hidden>
Date: 2016-06-15 23:08:15

On 16 Feb 2016, at 00:56, Junio C Hamano [off-list ref] wrote:
Jeff King [off-list ref] writes:
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help