From: Nguyen Thai Ngoc Duy Date: Fri, 04 Feb 2011 13:00:17 GMT Subject: Re: [PATCH] Add case insensitive support in matching pathspec Message-ID: In-Reply-To: <201102032117.32745.j6t@kdbg.org> 2011/2/4 Johannes Sixt : > On Donnerstag, 3. Februar 2011, Nguyễn Thái Ngọc Duy wrote: >> Commit 21444f1 (Add case insensitivity support when using git ls-files >> - 2010-10-03) teaches match_pathspec() to ignore case when >> core.ignorecase=true. >> >> match_pathspec_depth() is developed independently and does not have >> this feature. Teach it. > > Is match_pathspec_depth() used to match names of files on the filesystem, or > names of files in the index or in the repository? > > core.ignorecase should be honored only when files on the filesystem are > matched, IMO. Names in index, just as same as match_pathspec(). -- Duy