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

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
git-lfs/2.3.1 (GitHub; windows amd64; go 1.8.3; git 01fef48f)


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.

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: 374
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: Sun Jun 20 04:19:08 GMT 2021

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

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

Back to the top