Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH] git-r3.eclass: Explicitly disable password prompts
Date: Thu, 28 Nov 2019 20:11:51
Message-Id: 20191128201118.218687-1-mgorny@gentoo.org
1 Closes: https://bugs.gentoo.org/701276
2 Signed-off-by: Michał Górny <mgorny@g.o>
3 ---
4 eclass/git-r3.eclass | 3 +++
5 1 file changed, 3 insertions(+)
6
7 diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
8 index b1c7f7f43abc..e0d2bbb5edc0 100644
9 --- a/eclass/git-r3.eclass
10 +++ b/eclass/git-r3.eclass
11 @@ -556,6 +556,9 @@ _git-r3_is_local_repo() {
12 git-r3_fetch() {
13 debug-print-function ${FUNCNAME} "$@"
14
15 + # disable password prompts, https://bugs.gentoo.org/701276
16 + local -x GIT_TERMINAL_PROMPT=0
17 +
18 # process repos first since we create repo_name from it
19 local repos
20 if [[ ${1} ]]; then
21 --
22 2.24.0