-
There are often reports of GitLens annotations (current line, blame, etc) not showing up or not showing up anymore. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
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 To "fix" this either open the folder/workspace with the exact casing as it exists on disk, or change your Git config to set |
Beta Was this translation helpful? Give feedback.
-
+1 to @ferenczy's follow up. @eamodio what does it mean to "open with a different casing" when we are just running (Really appreciate your work making this!) |
Beta Was this translation helpful? Give feedback.
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 totrue
) 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
totrue
, by runninggit config --global core.ignoreCase true
on the command line.