libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

git lfs is not supported

Open tapika opened this issue 2 years ago • 2 comments

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.

tapika avatar Jun 09 '22 12:06 tapika

I concur. This is very disappointing. This should just work with some easily configured control.

dsynclabsllc avatar Mar 14 '23 17:03 dsynclabsllc