I upgraded to windows git 2.11.0 yesterday, and then it startet
prompting me for passwords when pushing to github.

The release notes only have the following line under "Known issues":
 - cURL uses $HOME/_netrc instead of $HOME/.netrc.
(and I knew that... that's why I have _netrc instead of .netrc on
Windows).

Google didn't find me anything recent either.

Does anyone know if git has stopped using _netrc? Or if my git doesn't
use _netrc?

I tried using verbose output, but that didn't tell me anything new:
 sbang@NOLSBANG02:~/workspaces/ws06/ukelonn$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git 
push
 15:58:05.401275 git.c:371               trace: built-in: git 'push'
 15:58:05.403275 run-command.c:350       trace: run_command: 'git-remote-https' 
'origin' 'https://stein...@github.com/steinarb/ukelonn.git'
 15:58:05.529283 run-command.c:350       trace: run_command: 'C:/Program 
Files/Git/mingw64/libexec/git-core/git-gui--askpass' 'Password for 
'\''https://stein...@github.com'\'': '
 15:58:09.262496 run-command.c:350       trace: run_command: 'bash' '-c' 'cat 
>/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
 error: unable to read askpass response from 'C:/Program 
Files/Git/mingw64/libexec/git-core/git-gui--askpass'

(I just pressed "Cancel" in the password prompt dialog that opened).

Could the problem be related to me using a username in the URL? 

I have used usernames to separate between different github accounts, and
that has worked up until this version of git.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to