Closes: https://bugs.gentoo.org/701276
Signed-off-by: Michał Górny <[email protected]>
---
 eclass/git-r3.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index b1c7f7f43abc..e0d2bbb5edc0 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -556,6 +556,9 @@ _git-r3_is_local_repo() {
 git-r3_fetch() {
        debug-print-function ${FUNCNAME} "$@"
 
+       # disable password prompts, https://bugs.gentoo.org/701276
+       local -x GIT_TERMINAL_PROMPT=0
+
        # process repos first since we create repo_name from it
        local repos
        if [[ ${1} ]]; then
-- 
2.24.0


Reply via email to