Cloning/Pulling with LFS enabled #125
Unanswered
lordofthejars
asked this question in
Q&A
Replies: 1 comment
-
Does JGit's implementation of LFS require native LFS? I thought that the JGit implementation was stand-alone? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am creating a class that uses jgit to download big files using LFS. I have made it work with jgit + git lfs installed, but I'd love to have the same but without having to have
git lfs
installed in the computer, so more a Java native solution.Even though I tried different things, the only result I got is that the file pointer is downloaded, and the
.gitattributes
and.git/config
are configured correctly, but still, only the pointer is there, not the full file.I tried debugging and replicating the LFS test module, but I had no luck. Here is the code: https://github.com/lordofthejars/jgit-lfs/blob/main/src/main/java/org/acme/HuggingFaceDownloader.java
If anyone can point me to what I am doing wrong or show me an example where it is used, I'd really appreciate it.
Thanks, and Happy New Year.
Beta Was this translation helpful? Give feedback.
All reactions