Closed milianw closed 7 years ago
That's an issue on the master branch of Git LFS. Try the latest release.
Also, if you're on Arch Linux, by chance, then there's a known issue with the PKGBUILD for Git LFS that always builds on master.
Ah yes, this is from arch, thanks a lot - I'll use the latest release then.
Thanks a lot for the quick reply. I guess we keep this open until it gets fixed in master?
Cheers
This is being tracked in https://github.com/git-lfs/git-lfs/issues/1878. It includes a hacked PKGBUILD too if you need one: https://gist.github.com/delcypher/120b6222f39d00539fee4c0229582a11
Uhm, no - I just double-checked - building git-lfs from AUR gets me v1.5.5 from the page you linked me to, i.e.
$ sha256sum v1.5.5.tar.gz
9f79bb8d5e29155ceabb4c5044df30a6759a97dba23f4121637f4c357a4abb23 v1.5.5.tar.gz
$ sha1sum v1.5.5.tar.gz
a03bbb287a53c7ad01928d3b1c76e26286e88ff6 v1.5.5.tar.gz
The problem persists.
Ah ok, I just saw your latest reply - thanks.
@milianw after downgrading LFS you'll need to run git lfs install --force
to overwrite the changed hooks.
Hey all,
with today's update of git lfs, I cannot push in my - arguably specific - git setup:
I have two remotes:
origin
: I use that from within a docker container with a special VPN that has access to the LFS resourceskdab
: I use that on my host system which cannot access the LFS resources (no VPN) for code reviewUntil last week, this worked fine. Today, I get this instead when trying to push a code review from my host system to the gerrit server:
I removed/changed some stuff above to keep potentially sensitive data private. I hope this does not make it unclear.
As you can see, it tries to get the git lfs locks, which is not accessible on my host - it is only accessible from within the docker container, which knows what git-uk actually is (custom /etc/hosts entry + VPN setup).
This essentially means I cannot push any changes to code review now. Is there any way I can workaround this? I don't see why pushing to this second remote should touch anything in git lfs? My changes do not touch any of the large files either.