public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] git-r3.eclass: Explicitly disable password prompts
@ 2019-11-28 20:11 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2019-11-28 20:11 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Closes: https://bugs.gentoo.org/701276
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-28 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-28 20:11 [gentoo-dev] [PATCH] git-r3.eclass: Explicitly disable password prompts Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox