libgit2sharp
libgit2sharp copied to clipboard
git lfs is not supported
Commands.Stage & repo.Commit
does not preserve LFS files at all, even if LFS is enabled.
Also if you try to read from git history using API like:
Blob blob = repo0.Lookup<Blob>(change.Oid);
using (Stream stream = blob.GetContentStream());
...
Instead of file - you will read pointer file instead - https://github.com/git-lfs/git-lfs/blob/main/docs/spec.md
text file.
Would be nice if LFS would be supported in libgit2sharp library.
I concur. This is very disappointing. This should just work with some easily configured control.