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

[PATCH v4 0/1] Make abspath() aware of case-insensitive filesystems

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Jan 18, 2019, 13:24 UTC
Message-ID
<pull.104.v4.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.104.v3.git.gitgitgadget@gmail.com>

It is completely legitimate these days to call git add with absolute paths. Of course, on a case-insensitive file system, users rightfully expect the argument to be handled case-insensitively, too. This patch makes it so.

Git for Windows carried this patch for over one and a half years already, I think it is time to get it into git.git.

Changes since v3:
 * Fixed the oneline (it talked about core.fileMode when it really wanted to
   talk about core.ignoreCase!).
Change since v2:
 * Replaced MINGW prerequisite in the test by CASE_INSENSITIVE_FS. v1 was
   sent out without a change by mistake. Sorry.
Johannes Schindelin (1):
  abspath_part_inside_repo: respect core.ignoreCase
 setup.c        | 6 +++---
 t/t3700-add.sh | 7 +++++++
 2 files changed, 10 insertions(+), 3 deletions(-)
base-commit: 77556354bb7ac50450e3b28999e3576969869068
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-104%2Fdscho%2Fcase-insensitive-abspath-v4
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-104/dscho/case-insensitive-abspath-v4
Pull-Request: https://github.com/gitgitgadget/git/pull/104
Range-diff vs v3:
 1:  b935e11d21 ! 1:  3fb927fc77 abspath_part_inside_repo: respect core.fileMode
     @@ -1,6 +1,6 @@
      Author: Johannes Schindelin <johannes.schindelin@gmx.de>
      
     -    abspath_part_inside_repo: respect core.fileMode
     +    abspath_part_inside_repo: respect core.ignoreCase
      
          If the file system is case-insensitive, we really must be careful to
          ignore differences in case only.
-- 
gitgitgadget
Previous: Johannes SchindelinNext: Johannes Schindelin via GitGitGadget
Message 14 of 15 in “Make abspath() aware of case-insensitive filesystems”
  1. 0/1 Make abspath() aware of case-insensitive filesystemsJohannes Schindelin via GitGitGadget, Dec 21, 2018
  2. 1/1 abspath_part_inside_repo: respect core.fileModeJohannes Schindelin via GitGitGadget, Dec 21, 2018
  3. Carlo ArenasDec 22, 2018
  4. Johannes SchindelinDec 24, 2018
  5. 0/1 Make abspath() aware of case-insensitive filesystemsJohannes Schindelin via GitGitGadget, Dec 24, 2018
  6. 1/1 abspath_part_inside_repo: respect core.fileModeJohannes Schindelin via GitGitGadget, Dec 24, 2018
  7. Torsten BögershausenDec 25, 2018
  8. Johannes SchindelinJan 18, 2019
  9. 0/1 Make abspath() aware of case-insensitive filesystemsJohannes Schindelin via GitGitGadget, Dec 24, 2018
  10. 1/1 abspath_part_inside_repo: respect core.fileModeJohannes Schindelin via GitGitGadget, Dec 24, 2018
  11. Junio C HamanoDec 25, 2018
  12. Junio C HamanoDec 25, 2018
  13. Johannes SchindelinJan 18, 2019
  14. 0/1 Make abspath() aware of case-insensitive filesystemsJohannes Schindelin via GitGitGadget, Jan 18, 2019
  15. 1/1 abspath_part_inside_repo: respect core.ignoreCaseJohannes Schindelin via GitGitGadget, Jan 18, 2019

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.