Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » LFS - .lfsconfig ignored on initial clone?
LFS - .lfsconfig ignored on initial clone? [message #1774080] Tue, 10 October 2017 05:36 Go to next message
Eclipse UserFriend
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 05:08 Go to previous messageGo to next message
Eclipse UserFriend
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 15:23 Go to previous message
Eclipse UserFriend
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 Jul 17 13:38:06 EDT 2025

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

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

Back to the top