Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for git lfs #956

Open
hhamud opened this issue May 27, 2023 · 3 comments
Open

Support for git lfs #956

hhamud opened this issue May 27, 2023 · 3 comments
Labels
new bindings Missing bindings for existing libgit2 functions.

Comments

@hhamud
Copy link

hhamud commented May 27, 2023

Request support for git lfs for cloning, pulling, fetching and checking out

@lminer
Copy link

lminer commented Oct 15, 2024

Any plans to work on this? Seems to be responsible for lack of git-lfs support in uv

@weihanglo
Copy link
Member

Seems to be responsible for lack of git-lfs support in uv

It doesn't seem like it. They moved away from libgit2 to git CLI months ago: astral-sh/uv#3312 (comment)

@weihanglo
Copy link
Member

git-lfs is a tool built upon Git's filter attributes. This paragraph describes how it works.

Not sure what you actually mean by supporting git-lfs. Guess you mean implementing the Git LFS client spec inside git2? Since git2 is considerd as a thin-safe wrapper around libgit2, it might be a bit out-of-scope (libgit2 doesn't have native git-lfs client either). Though that doesn't mean we can't do that.

Regardless, there is a prerequisite: #442git_filter* bindings need to be exposed first in libgit2-sys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new bindings Missing bindings for existing libgit2 functions.
Projects
None yet
Development

No branches or pull requests

4 participants