-
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
Credential Helper pops up all the time #2776
Comments
So, you are using the defaults? Then you are not using Git Credential Manager Core? Perhaps give that a try? |
There was no installation, it's the portable edition. I simply copied the files in a directory and run git. If I select 'Credential Manager Core' from the popup window, and select 'Always use this from now on', it still pops up the same window next time. This never happened before. |
Actually, I just realized, it does so on any repo, not just private. On private repo, it pops up on both |
I went back to previous version and everything works OK. So, it's definitely a problem with the latest version. |
I have the same problem when using the latest version. Additionally the following message appears in the console after closing the popup window:
Could it be that GitForWindows is not able to write the selected option to the filesystem or something similar? Edit:
respectively Edit 2:
On the other machine the following value is set:
In my case, this was exactly the problem, it always asks which helper to select. Set it as follows: |
@dwettstein Your suggestion ( However, I still think there is a bug in the last version in that the selection in the popup window, and with the checkbox for remembering this chosen option checked, does not 'stick', and one has to keep selecting all the time, unless the above command line option is used making the misbehaving popup window redundant, |
There are several instances where we want to format a string with Unicode parameters (i.e. encoded in UTF-16). For those, we actually need to use `%S` (with an upper-case `S`). For some reason, this seemed to work with a lower-case `%s` before, but it probably shouldn't have worked. As a consequence, the choices were not persisted correctly. This fixes git-for-windows/git#2776. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Thank you for reporting this issue. My best guess is that this is a bug that was with us for a long time, hidden by a mingw-w64-gcc bug in versions before v10.x, where string format parameters for Unicode strings really need to use the upper-case version I have a tentative fix in git-for-windows/build-extra#301. |
BTW this was the clue I needed to figure out the solution. Thank you so much for that! |
The credential helper selector (used as default credential helper in the Portable Git) [now persists the users choice correctly again](git-for-windows/git#2776). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
I had this issue today on
I executed |
Could you try the latest snapshot at https://wingit.blob.core.windows.net/files/index.html ? |
I tried, but now I can't bring back the selector window 😱 Even though |
Can you run |
Oh, and what does |
|
Can you set |
And just to make sure I'm running the latest snapshot:
|
Same for me:
At that point, this dialog pops up: FWIW, I tested with the latest snapshot:
|
Setup
32-bit
Win7, 32-bit and Win7 64-bit
$ cmd.exe /c ver
Microsoft Windows [Version 6.1.7601]
One of the following:
N/A
git push
git pull
The text was updated successfully, but these errors were encountered: