-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
credential-cache unavailable; no unix socket support (Git for Windows) #723
Comments
Hmm. This is a report about the |
Certainly true. (However, I wish |
@miya789 looks as if this documentation change has been introduced in 08124c9#diff-4663e076ac4040ad436db8af5dfb42e609b381625e149a81737e83d18c206cb6R151. Well spotted! Would you mind opening a PR to remove "Windows" from that line? Full disclosure: Technically, since Git v2.34.0, |
@dscho
Thank you. I will do it later. However, I just regret that I can't do it on Windows. |
Yes, you will have to build Git (making sure to override |
Then, the following understanding is correct?
If no problem, when fixing doc, I will mention about this in PR. |
Almost. It's the source code of Git, not just Git for Windows. And as I mentioned above, Unix sockets support was introduced with Windows 10 build 17061. Therefore, if you replace "Git for Windows" with "Git", and "Vista" with "Windows 10 before build 17061" in your statement, then it is 100% correct.
I plan on dropping support in Git for Windows for Windows Vista way before 2023. And when that happens, we will still support many Windows versions before Windows 10 build 17061. Therefore, we cannot simply enable support for Unix sockets in Git for Windows. We might get something in the way of "if you start |
Is there an upstream bug for this issue? I couldn't find anything at https://github.com/git-for-windows/git/issues |
I could not find it either.
|
Opened git-for-windows/git#3892 |
Which version of GCM are you using?
Git Credential Manager version 2.0.696+4365b917da
Which Git host provider are you trying to connect to?
Can you access the remote repository directly in the browser using the remote URL?
This is a problem that always occurs with private repositories, so I will omit it.
Expected behavior
To pass through two factor authenticattion, GCM shows UI for browser login with built-in cache enabled.
As noted in Git's built-in credential cache like below:
Actual behavior
Terminal shows like below,
Moreover, GCM UI does not appear.
Logs
Windows Version: 21H2 (OS Build 22000.675)
Git's built-in credential cache says cache can be used in Windows.
But in this stackoverflow question, Windows does not support unix socket.
Could you please let me know if you plan to support cache in Windows with GCM?
release note about GCM says,
So I'm looking forward to being able to use cash at GCM not to leave credential in Windows.
The text was updated successfully, but these errors were encountered: