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
WSL is used where it shouldn't, causing 30s idle #16678
Comments
@JeroenBos thanks for the issue! Could you upload the log file from GitHub Desktop so that I could see if that shows anything interesting? To access the log files go to the file menu in GitHub Desktop and select |
I edited my post and added minimal logs. As a description of what I did:
I see that the logs are about ssh, so I'll add some related information:
|
I rebuilt an older version (3.2.0) from source, as I'm certain I didn't have the above behavior yet in that timeframe. I could still observe it with that version, so I concluce it has nothing to do with GitHub Desktop, and I'll have to look elsewhere for this puzzling behavior. Sorry for the inconvenience. |
Well, I am starting to think it is related to GitHub desktop. A Somehow the I found out by disabling hyperv in BIOS, after which committing in GitHub desktop gave me the following error:
After uninstalling WSL (properly, as in including unticking the “Windows Subsystem for Linux” option in the Windows Features dialog box), this issue was resolved. Now, I don't use WSL for anything. Admittedly I had installed it to try something, and ever since I've been having this issue with GitHub Desktop, but I didn't think of it. Merely installing WSL2 shouldn't affect GitHub Desktop imho. |
What I think is going on:
That hangs. Possibly that trying to execute something in WSL hangs (because it isn't running on my system), or maybe it is started and then it hangs on the message |
The problem
Since 3.2.2 or 3.2.3 I observe a regression, namely that squashing commits, or in general rebasing, takes very long in the presence of a
post-checkout
bash script hook. There is some sort of timeout going on where you have to wait for pretty much exactly 30 seconds.Release version
3.2.3 (x64)
Operating system
Windows 10
Steps to reproduce the behavior
./.git/hooks/post-checkout
with the contents#!/bin/bash
(nothing else)Observe that the "Squash in progress" dialog takes 30 seconds.
Log files
Screenshots
No response
Additional context
The timeout does not occur when
#!/bin/bash
(but e.g. with#!/bin/sh
)EDIT: I have it with normal commits too, not just rebases.
The text was updated successfully, but these errors were encountered: