Re: [PATCH] Add case insensitive support in matching pathspec

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

Re: [PATCH] Add case insensitive support in matching pathspec

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:30

Nguyen Thai Ngoc Duy [off-list ref] writes:
quoted
core.ignorecase should be honored only when files on the filesystem are
matched, IMO.
Names in index, just as same as match_pathspec().
If the matched entities are names in the index, they should already be
canonical and we shouldn't be matching with icase, no?

Re: [PATCH] Add case insensitive support in matching pathspec

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:50:30

On Sat, Feb 5, 2011 at 6:06 AM, Junio C Hamano [off-list ref] wrote:
Nguyen Thai Ngoc Duy [off-list ref] writes:
quoted
quoted
core.ignorecase should be honored only when files on the filesystem are
matched, IMO.
Names in index, just as same as match_pathspec().
If the matched entities are names in the index, they should already be
canonical and we shouldn't be matching with icase, no?
The patterns are case-insensitive. The example given in 21444f is "git
ls-files mydir" should also match MyDir/* in index. Although by
modifying match_one(), it affects more than just git-ls-files. I'm not
the original author, so Joshua, was that patch to fix git-ls-files
only?
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help