From 9d6a1a693e7ce164869c082059e488c6c9596320 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 12 Feb 2016 12:54:47 +0000 Subject: [PATCH] update-bash: don't prompt for passwords. We execute too many `git fetch` at once for this to be useful. Just let them fail instead and make it up to users to setup username/password caching or SSH agents. --- Library/Homebrew/cmd/update-bash.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/cmd/update-bash.sh b/Library/Homebrew/cmd/update-bash.sh index bcc721bbca..f75abb614b 100644 --- a/Library/Homebrew/cmd/update-bash.sh +++ b/Library/Homebrew/cmd/update-bash.sh @@ -303,6 +303,9 @@ EOS odie "Git must be installed and in your PATH!" fi fi + export GIT_TERMINAL_PROMPT="0" + export GIT_ASKPASS="false" + export GIT_SSH_COMMAND="ssh -oBatchMode=yes" if [[ -z "$HOMEBREW_VERBOSE" ]] then