I change the capitalization of a directory and Git doesn't seem to pick up on it

Question

I'm developing a project on OS X Lion that is under Git version control. I had these lowercase directories and then later capitalized them (e.g. emailaddresses => EmailAddresses), but Git doesn't seem to recognize the change. It still thinks the directories are lowercase when I run git ls-files and other commands.

Is this harmless, or should I do something else to get Git to pick up on this change?

Answer

You can tell git to take account of the case by running

git config core.ignorecase false

How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?

Meaning of the GitHub message: push declined due to email privacy restrictions