Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » EGit commit file with LFS
icon5.gif  EGit commit file with LFS [message #1761400] Wed, 10 May 2017 14:39 Go to next message
Nicolas Albert is currently offline Nicolas AlbertFriend
Messages: 7
Registered: May 2017
Junior Member
Hi,

I want to enable LFS for my project, hosted on GitHub. I use Neon with EGit/JGit 4.7.0.201704051617.
I also have git/2.12.2.windows.2 and git-lfs/2.1.0 .

Just for test, I do : git lfs track "*.dll"

If I had a .dll file and commit, github show this kind of content for the file :

version https://git-lfs.github.com/spec/v1
oid sha256:f81cee5f00c704e18b1c0372e026d2a0f56ff0957d37835c9ca36d6fef2bdcef
size 1024

Then the pull failed for egit and even for git. So I have to delete this entry.

If I commit using git command line, the file is ok on github and egit can pull it.

I do many tries without success. My testing repo is here : https://github.com/nicolas-albert/TestGit
Re: EGit commit file with LFS [message #1763709 is a reply to message #1761400] Thu, 18 May 2017 19:22 Go to previous message
Nicolas Albert is currently offline Nicolas AlbertFriend
Messages: 7
Registered: May 2017
Junior Member
Ok, I set the nightly update site on my Eclipse Neon and I run now with EGit 4.8.0.201705180901.

I just test to push another file and it appears as binary now :)
Previous Topic:Commit brings up empty staging fields
Next Topic:How to do "submodule init" ?
Goto Forum:
  


Current Time: Tue Sep 26 03:58:20 GMT 2017

Powered by FUDForum. Page generated in 0.03948 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software