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

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 8 08:21:34 PDT 2017


lynxis pushed a commit to source.git, branch master:
https://git.lede-project.org/acc5ab6b920f1f996c0b65c4fbbcab89e754d494

commit acc5ab6b920f1f996c0b65c4fbbcab89e754d494
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 5fbf5e2..658eb4c 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -23,6 +23,7 @@ HOSTCC ?= $(CC)
 export REVISION
 export SOURCE_DATE_EPOCH
 export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
+export GIT_ASKPASS:=/bin/true
 export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
 export GNU_HOST_NAME:=$(shell $(TOPDIR)/scripts/config.guess)
 export HOST_OS:=$(shell uname)



More information about the lede-commits mailing list