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

Set core.ignorecase globally

From
Kirill Likhodedov <kirill.likhodedov@jetbrains.com>
Date
Nov 2, 2012, 14:39 UTC
Message-ID
<6DB2AD2A-6531-497E-B87E-0E884C4BCFBE@jetbrains.com>
Hi,

Currently, core.ignorecase is set to true on case insensitive system like Windows or Mac on `git init` and `git clone`, and this setting is local to the created/cloned repository. Here is the man entry:

core.ignorecase
           If true, this option enables various workarounds to enable git to work better on filesystems that are
           not case sensitive, like FAT. For example, if a directory listing finds "makefile" when git expects
           "Makefile", git will assume it is really the same file, and continue to remember it as "Makefile".
           The default is false, except git-clone(1) or git-init(1) will probe and set core.ignorecase true if
           appropriate when the repository is created.
I suggest to set this globally by default when Git is installed, because there is little sense to have this option false on case insensitive systems (it will lead to confusions when renaming a file by changing only the case of letters). 

---------------------------------- Kirill Likhodedov JetBrains, Inc http://www.jetbrains.com "Develop with pleasure!"

Next: Konstantin Khomoutov
Message 1 of 4 in “Set core.ignorecase globally”
  1. Kirill LikhodedovNov 2, 2012
  2. Konstantin KhomoutovNov 2, 2012
  3. Konstantin KhomoutovNov 2, 2012
  4. Torsten BögershausenNov 2, 2012

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.