GIT_TERMINAL_PROMPT=0

pull/29/head
Bruno Sutic 9 years ago
parent db8b06c509
commit 9949d48b6a
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
  1. 2
      CHANGELOG.md
  2. 2
      scripts/install_plugins.sh
  3. 4
      scripts/update_plugin.sh

@ -1,6 +1,8 @@
# Changelog
### master
- set GIT_TERMINAL_PROMPT=0 when doing `git clone`, `pull` or `submodule update`
to ensure git does not prompt for username/password in any case
### v1.2.1, 2014-11-21
- change the way plugin name is expanded. It now uses the http username

@ -7,7 +7,7 @@ source "$CURRENT_DIR/shared_functions.sh"
clone() {
local plugin=$1
cd $SHARED_TPM_PATH &&
git clone --recursive $plugin
GIT_TERMINAL_PROMPT=0 git clone --recursive $plugin
}
# tries cloning:

@ -20,8 +20,8 @@ pull_changes() {
local plugin="$1"
local plugin_path=$(shared_plugin_path "$plugin")
cd $plugin_path &&
git pull &&
git submodule update --init --recursive
GIT_TERMINAL_PROMPT=0 git pull &&
GIT_TERMINAL_PROMPT=0 git submodule update --init --recursive
}
update() {

Loading…
Cancel
Save