From 08bac522cdc73edefed00d399f39fca7d01d2b8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 28 Nov 2019 14:33:36 +0100 Subject: [PATCH] git-r3.eclass: Explicitly disable password prompts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/701276 Signed-off-by: Michał Górny --- 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