The reasons for core.ignoreCase true #6007
Replies: 1 comment
-
Why specifically that version of the docs? 2.14.6 is 6 years old at this point? That section is unchanged since 2018, but I'm still curious.
Ok.
true
Yes, but for all intents and purposes usually no. The documentation could probably distinguish between properly case-insensitive filesystems and NTFS being case sensitive, but usually operating case insensitively.
Please explain what you mean by that. what is "CICDed to" supposed to mean?
I'm pretty sure IIS doesn't always distinguish case, but wether we're talking "all" or "most" probably doesn't matter. Anyways, how is this related to git?
Elaborate how. Please also consider that Git does detect case sensitiveness when initializing (or cloning) a repo and sets
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In https://git-scm.com/docs/git-config/2.14.6#Documentation/git-config.txt-coreignoreCase I read "to enable Git to work better on file-systems that are not case sensitive". On Windows the most used file system is NTFS which is case sensitive.
The problem arises when committing to a repository that is CICD ed to a case sensitive OS like Linux. All web-servers and browser distinguish case. For web development this setting on true (the default on a Windows installation) is problematic.
Beta Was this translation helpful? Give feedback.
All reactions