-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Reproduction steps
We need to use git-lfs and there implemented a Filter to manage the things myself.
Therefore there is an entry in .gitattributes to move certain items with a defined extensions `.irstbl' into LFS:
.gitattributes
*.irstbl filter=lfs diff=lfs merge=lfs -text
data/ringplot/** filter=lfs diff=lfs merge=lfs -text
The .gitconfig looks is this:
[core]
bare = false
repositoryformatversion = 0
filemode = false
ignorecase = true
logallrefupdates = true
The filter is added such:
GlobalSettings.RegisterFilter(new LfsFilter("LFS Filter", [new FilterAttributeEntry("lfs")]));
When I now make a Commands.Pull all files in the data/ringplot/** folders are evaluated correctly, but not the files in *.irstbl. The extensions of the file names are written as *.IRSTBL so there is a difference in the casing.
Expected behavior
Since I'm working on Windows and the PathComparer is set to IgnoreCase I was assuming that everything should work. But seems it doesn't.
Actual behavior
It seems filters are evaluated case sensitive.
Version of LibGit2Sharp (release number or SHA1)
0.31.ß
Operating system(s) tested; .NET runtime tested
Windows / .NET 9