summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/project.py b/project.py
index dda01331..b281863b 100644
--- a/project.py
+++ b/project.py
@@ -2697,6 +2697,19 @@ class Project:
2697 ) 2697 )
2698 # Continue right away so we don't sleep as we shouldn't need to. 2698 # Continue right away so we don't sleep as we shouldn't need to.
2699 continue 2699 continue
2700 elif (
2701 ret == 128
2702 and gitcmd.stdout
2703 and "fatal: could not read Username" in gitcmd.stdout
2704 ):
2705 # User needs to be authenticated, and Git wants to prompt for
2706 # username and password.
2707 print(
2708 "git requires authentication, but repo cannot perform "
2709 "interactive authentication. Check git credentials.",
2710 file=output_redir,
2711 )
2712 break
2700 elif current_branch_only and is_sha1 and ret == 128: 2713 elif current_branch_only and is_sha1 and ret == 128:
2701 # Exit code 128 means "couldn't find the ref you asked for"; if 2714 # Exit code 128 means "couldn't find the ref you asked for"; if
2702 # we're in sha1 mode, we just tried sync'ing from the upstream 2715 # we're in sha1 mode, we just tried sync'ing from the upstream