Skip to content

git lfs is not supported #1973

Open
Open
@tapika

Description

@tapika

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions