-
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
git for Windows hangs when pushing a 10-character change to git-daemon #2824
Comments
Tried one more thing. I use hggit - working
Git for Windows - not working
Notice the extra space character in front of |
I suspected concurrency and tried to set the number of threads to Thanks for a quick reply. Keep up the good work! |
@gh-andre could I ask you to open a PR to edit the Known Issues to mention this problem as well as its work-around? That would help me a lot, as I am busy with too many other things until v2.29.0 gets released. |
@dscho Sure. If a day or two is not a problem for you, I can add a bullet point. |
Thank you! |
@dscho I added a PR, but it doesn't look like I will be fixing the DCO issue - I have a couple of logins on this machine and don't want to mess with sign-off settings for this account. You can just grab the one-liner from the PR and delete the PR after. |
Sadly, that re-adds my burden. I'll just take care of this when I get around to it. |
Okay, with this addition to the known issues, I think we can leave it to #907 to be resolved, and close this here ticket. |
Sounds good. Will keep an eye on #907. Sorry for the extra legwork. |
#2328 is similar, but it appears to be fixed in a past version.
Setup
64-bit
defaults?
to the issue you're seeing?
I'm running git-daemon - latest available on Fedora 30 (2.21.3). Git version on that machine:
Tried the same on an x64 CentOS, same result, so it's not the CPU arch. git-daemon is running as xinetd with this setup:
Running git-daemon from the command line doesn't change anything - same behavior.
Created a repository and committed a 10-character file with a newline (for xinetd changed owner, but for command line ran as root):
On a Linux client:
Pushed the change just fine. After this ran clone/change on Windows, as described below. Added another line of 10 characters. The entire log on Windows before
git push
was:git push
produced this output and continue hanging after the last line:I ran Wireshark and these are the packets sent between machines (
192.168.1.101
is Windows and192.168.1.96
is Linux, SYN's and ACK's are omitted):After that, no additional packets sent for as long as I waited. No errors in the git-daemon log. Just says that it started processing and there is no
EXIT
log line.Tried a couple of other Linux clients and they work just fine against the same git-daemon, so it appears to be a Windows client issue.
Details
cmd
Minimal, Complete, and Verifiable example
this will help us understand the issue.
New commit pushed to git-daemon
git is hanging indefinitely
URL to that repository to help us with testing?
** insert URL here **
The text was updated successfully, but these errors were encountered: