-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-lfs stopped working with msys2-runtime-3.5.4 update #4962
Comments
I thought git was broken for all MSYS? If this is not true, please let us all know, and update all the recent stack-overflows stating otherwise. |
I met the same issue. |
I'm also running into this when trying to pull a repo with some updated LFS files. Adding @eabase I've exclusively been using git on MSYS for 5+ years w/o issues, including LFS, so it's definitely been working previously! |
Same here -- I've been using MSYS2 git for a while now with literally zero issues, except for some apparent general sluggishness. It seems the fix is here: git-for-windows/msys2-runtime#75 |
Is it possible to merge this patch? |
Moreover my analysis is that the original change that introduced this bug is both philosophically and technically incorrect and should likely be reverted regardless of its impact on this specific issue.
Git on MSYS2 works fine. I have been using vanilla MSYS2 GIT since 2022 without issues, and I have worked on various persistent (non-dockerized) runner setups that rely exclusively on MSYS2 GIT for all git operations needed to populate runners and execute jobs. Eg, setups where MSYS2 images run with cleanly sandboxed PATH/Environ and have little or no reliance on Windows inherited environment or applications. The only thing that's sort of missing from MSYS2 GIT that Git for Windows offers is the preferred Git Credential Manager for Windows (preferred depending on one's setup and workflow). It is trivial to download and install that into a given MSYS2 image and it works as expected. As for updating all StackOverflows... that seems a bit out of scope for resolution of this present issue? |
Please take this analysis to [email protected]. I'd very much like it fixed upstream, but I haven't investigated this personally to be able to advocate for it sufficiently myself. |
I've sent @dscho's patch from git-for-windows/msys2-runtime#75 to cygwin-patches for discussion: https://inbox.sourceware.org/cygwin-patches/[email protected]/T/#u |
@jeremyd2019 wow, it was already pushed... (to |
They're not planning to make more 3.5 releases, so they're not pushing to cygwin-3_5-branch anymore. |
Description / Steps to reproduce the issue
git
andmingw-w64-x86_64-git-lfs
Expected behavior
Files managed by git-lfs are downloaded
Actual behavior
git-lfs hangs at the git-lfs-authenticate step, which involves reading ssh output. With GIT_TRACE=1 it hangs after printing this line:
exec: ssh '[email protected]' 'git-lfs-authenticate username/repository.git download'
Downgrading to
msys2-runtime-3.5.3-5
or manually replacingmsys2-runtime.dll
with the one fromv3.5.3-5
resolves the issue.Verification
Windows Version
MINGW64_NT-10.0-19045
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: