Merge pull request #7351 from zefrog/fix-git-auth-failure-no-tty
Fix Git detection of authentication failure when no tty is attached to the processpull/7375/merge
commit
1016cf19b2
|
@ -254,6 +254,7 @@ class Git
|
||||||
'remote error: Invalid username or password.',
|
'remote error: Invalid username or password.',
|
||||||
'error: 401 Unauthorized',
|
'error: 401 Unauthorized',
|
||||||
'fatal: unable to access',
|
'fatal: unable to access',
|
||||||
|
'fatal: could not read Username',
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($authFailures as $authFailure) {
|
foreach ($authFailures as $authFailure) {
|
||||||
|
|
Loading…
Reference in New Issue