Permalink
Browse files

Makes the git ignore file case insensitive

For Windows users, it probably doesn't make sense to have .gitignore be case sensitive.

From the docs:

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.
  • Loading branch information...
1 parent d554492 commit 4cf04564eca3be48936a969677d078925690ad93 @Haacked Haacked committed Jun 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 etc/gitconfig
View
@@ -2,6 +2,7 @@
symlinks = false
autocrlf = true
editor = gitpad
+ ignorecase = true
[color]
diff = auto

1 comment on commit 4cf0456

Member

Haacked commented on 4cf0456 Jun 22, 2012

We probably should take this for GHfW.

Please sign in to comment.