Open DoCode opened 7 years ago
I'm not familiar with LFS. Could you specify the behavior you'd like to see?
I think the libgit2 version you are using does not correctly detect the repository status. I check this with the current libgit2(sharp) and the result is okay. Can you verify this and/or update the libgit2 library?
https://github.com/cmarcusreid/git-status-cache/releases/tag/v1.1.5-alpha has the latest release of the libgit2 library. Could you try it out and let me know if it addresses this?
v1.1.5-alpha + libgit-0.25.1 still reports LFS files as modified.
% $(get-gitstatusfromcache).WorkingModified.Count
2630
libgit2 does support filters (https://github.com/libgit2/libgit2/pull/1847), but does not include a filter implementation for LFS: https://github.com/git-lfs/git-lfs/issues/375 https://github.com/libgit2/libgit2sharp/issues/1236.
I build GitStatusCache with libgit2 v1.4.2, please see if this could help you. https://github.com/hcoona/git-status-cache/pull/1
Can Git Status Cache support the LFS? Currently the status display the LFS files as modified.