git-lfs support #1089
Replies: 3 comments 3 replies
-
the libgit2 maintainers keep referring to the filters to implement git-lfs, in order to do this in rust git2-rs needs to support the upstream functions: rust-lang/git2-rs#442 |
Beta Was this translation helpful? Give feedback.
-
There’s a tiny LFS compatibility layer I wrote for isomorphic-git: https://github.com/riboseinc/isogit-lfs. I found it reasonably straightforward to do the following bare minimum needed for our use case:
In case of gitui, users would probably expect to be able to check out LFS blobs into working directory, but it wasn’t required in our use case. |
Beta Was this translation helpful? Give feedback.
-
Is this the same thing blocking #1468? I found that |
Beta Was this translation helpful? Give feedback.
-
I was recently asked if git-lfs is supported.
Research shows that it is not supported out of the box in our upstream
libgit2
:No idea how git-lfs is implemented in itself but it seems to be a manual job to be supported in gitui.
edit:
seems lfs is using 4 git hooks to work (none of which are currently supported by gitui):
maybe this can be used as a reference implementation:
https://github.com/Axosoft/nodegit-lfs
Beta Was this translation helpful? Give feedback.
All reactions