[source] include/toplevel: set env GIT_ASKPASS=/bin/true

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 8 14:02:56 PDT 2017

jow pushed a commit to source.git, branch lede-17.01:

commit 4053c4f0fefe6bc4bee0b65cb8a187a75267293c
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Wed Jun 7 23:56:19 2017 +0200

    include/toplevel: set env GIT_ASKPASS=/bin/true
    When git-https request a service (e.g. github) which ask for credentials
    git will pass this request to the user resulting download.pl to wait for
    user input. Set GIT_ASKPASS to stop asking.
    Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
 include/toplevel.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/toplevel.mk b/include/toplevel.mk
index c90670b..77b04ae 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -23,6 +23,7 @@ HOSTCC ?= $(CC)
 export REVISION
 export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
+export GIT_ASKPASS:=/bin/true
 export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
 # prevent perforce from messing with the patch utility

More information about the lede-commits mailing list