git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Johannes Sixt <j6t@kdbg.org>
Date
Feb 3, 2011, 20:17 UTC
Message-ID
<201102032117.32745.j6t@kdbg.org>
In-Reply-To
<1296751106-15316-1-git-send-email-pclouds@gmail.com>
On Donnerstag, 3. Februar 2011, Nguyễn Thái Ngọc Duy wrote:
Show 6 quoted lines
> 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.

-- Hannes
Previous: Nguyễn Thái Ngọc DuyNext: Nguyen Thai Ngoc Duy
Message 2 of 7 in “Add case insensitive support in matching pathspec”
  1. Add case insensitive support in matching pathspecNguyễn Thái Ngọc Duy, Feb 3, 2011
  2. Johannes SixtFeb 3, 2011
  3. Nguyen Thai Ngoc DuyFeb 4, 2011
  4. Junio C HamanoFeb 4, 2011
  5. Nguyen Thai Ngoc DuyFeb 5, 2011
  6. Junio C HamanoFeb 3, 2011
  7. Nguyen Thai Ngoc DuyFeb 5, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.