-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Release 2.22.0 breaks side-band for git protocol #2278
Comments
I am fairly certain that this is a duplicate of #907. Maybe you find it in yourself to address the task I outlined in #907 (comment)? |
I'll look at the task in #907. I'll also test to see if this is working for 32-bit as well. If it doesn't work for both 32-bit and 64-bit then the issue has not been resolved yet. If it works for 32-bit then 64-bit is still broken. Just for clarification, if I perform the task in #907 to fix the issue, does that only resolve it for my local install of git-for-windows or is the intent that I push the fix back to github for future releases? |
I highly doubt that it is fixed for 64-bit. I think it is currently broken for 32-bit and 64-bit, and that went undetected for a long time because there are no test cases in Git's test suite that run on Windows by default and that would verify that pushing via
It will result in a fix that is pushed back to GitHub for future releases. While it won't fix your local installation, that is easily fixed, though: once your PR is accepted, a new snapshot will be built automatically. These snapshots are functionally equivalent to full releases (code-signed and all), with two notable quirks: the version is a bit funny, and the release notes will reflect the "in-between"-ness. I consider those snapshots rock solid and safe to use in production. If bugs are encountered in them, I will prioritize bug fixes as much as I will with official releases. Once fixed, the snapshots will get the bug fixes first, of course. |
@bit-bash Oh, and I encourage you to move fast with that PR, as I won't have time to work on this issue this year (apart from reviewing and accepting PRs), and v2.23.0 is scheduled for mid-August. If you're fast enough, you will get that bug fix in Git for Windows v2.23.0. |
@kokostek maybe you are interested enough to drive this forward? |
Setup
v2.22.0.windows.1 64-bit
Windows 7 Pro SP1
defaults?
to the issue you're seeing?
Internally using the git protocol to local git server on Ubuntu 16.04 (running git-daemon).
Running "git config --list" on local system shows:
sendpack.sideband=false
which allowed the git protocol to be used with git v2.21.0 or earlier.
Details
bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
That the push would have succeeded and not hung.
The git push command hangs.
URL to that repository to help us with testing?
Will fail on any repo that we access using the git protocol. The SSH protocol is OK.
I looked at the git-for-windows source code and noticed that the code to handle sideband=false is missing in send-pack.c for v2.22.0. This code was present for previous releases of git-for-windows but is no longer there for v2.22.0.
I've attached the commit that is present for v2.21.0 and is NOT present for v2.22.0. The previous commits for send-pack.c are identical so only this last commit is missing.
commit1da059c224cff333d6b53abd80e20533238e7832.txt
The text was updated successfully, but these errors were encountered: