Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » LFS - .lfsconfig ignored on initial clone?
LFS - .lfsconfig ignored on initial clone? [message #1774080] Tue, 10 October 2017 09:36 Go to next message
Ingo Kofler is currently offline Ingo KoflerFriend
Messages: 1
Registered: October 2017
Junior Member
Hi,

Just evaluating git LFS having a configuration that the LFS server is different than the git server.

I therefore used to approach with a local .lfsconfig file pointing to the right URL of the LFS server as described in the gitlfs tutorial.

git config -f .lfsconfig lfs.url myurlhere
git add .lfsconfig


While this works fine with git bash, the initial clone in Eclipse does not work. The error message indicates that it tries to access the LFS API under the git URL and fails. Strangely, when cloning with git bash before and import the local repository in Eclipse it works.

Does the current implementation ignore a local .lfsconfig ATM?

I am using the following versions

Oxygen 4.7.0
Git integration 4.8.0.201706111038-r
git 2.14.2.windows.1
git-lfs/2.3.1 (GitHub; windows amd64; go 1.8.3; git 01fef48f)

Thanks,
Ingo

Re: LFS - .lfsconfig ignored on initial clone? [message #1798144 is a reply to message #1774080] Tue, 13 November 2018 10:08 Go to previous messageGo to next message
Marcel Wagner is currently offline Marcel WagnerFriend
Messages: 3
Registered: February 2018
Junior Member
Any news on this? We also suffer on this bug. Our LFS server ist different than the git server. We can't initially clone from Eclipse or Jenkins. We always have to use the command line. A little bit annoying for the CI server.

Regards,
Marcel
Re: LFS - .lfsconfig ignored on initial clone? [message #1799546 is a reply to message #1798144] Sun, 09 December 2018 20:23 Go to previous message
Thomas Wolf is currently offline Thomas WolfFriend
Messages: 576
Registered: August 2016
Senior Member
Yes, this has not been implemented in the JGit LFS support. Maybe you'd like to contribute that? Shouldn't be too difficult; probably would need to be done in LfsConnectionFactory.
Previous Topic:Reset to previous commit and push
Next Topic:JGit - ancestry-path
Goto Forum:
  


Current Time: Thu Apr 25 16:28:40 GMT 2024

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

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

Back to the top