Skip to content

GitLens is not showing annotations on files, why? #1299

Answered by eamodio
eamodio asked this question in Q&A
Discussion options

You must be logged in to vote

This is typically caused by a known "issue" with VS Code & Git on file systems that aren't case sensitive (Windows, macOS). It stems from VS Code not being able to get the correct casing of the folder/file on disk, so it uses whatever casing you provide. And Git (unless you set the core.ignoreCase config setting to true) is expecting the folder/file casings to match exactly as they are on disk.

To "fix" this either open the folder/workspace with the exact casing as it exists on disk, or change your Git config to set core.ignoreCase to true, by running git config --global core.ignoreCase true on the command line.

Replies: 2 comments 5 replies

Comment options

eamodio
Dec 28, 2020
Maintainer Author

You must be logged in to vote
2 replies
@ferenczy
Comment options

@trey-miller
Comment options

Answer selected by eamodio
Comment options

You must be logged in to vote
3 replies
@eamodio
Comment options

eamodio May 24, 2021
Maintainer Author

@eamodio
Comment options

eamodio May 24, 2021
Maintainer Author

@bpasero
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants