A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tmux-plugins/tpm/commit/9949d48b6afa105c9e8489324b74789a92270a9a below:

GIT_TERMINAL_PROMPT=0 · tmux-plugins/tpm@9949d48 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+5

-3

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+5

-3

lines changed Original file line number Diff line number Diff line change

@@ -1,6 +1,8 @@

1 1

# Changelog

2 2 3 3

### master

4 +

- set GIT_TERMINAL_PROMPT=0 when doing `git clone`, `pull` or `submodule update`

5 +

to ensure git does not prompt for username/password in any case

4 6 5 7

### v1.2.1, 2014-11-21

6 8

- change the way plugin name is expanded. It now uses the http username

Original file line number Diff line number Diff line change

@@ -7,7 +7,7 @@ source "$CURRENT_DIR/shared_functions.sh"

7 7

clone() {

8 8

local plugin=$1

9 9

cd $SHARED_TPM_PATH &&

10 -

git clone --recursive $plugin

10 +

GIT_TERMINAL_PROMPT=0 git clone --recursive $plugin

11 11

}

12 12 13 13

# tries cloning:

Original file line number Diff line number Diff line change

@@ -20,8 +20,8 @@ pull_changes() {

20 20

local plugin="$1"

21 21

local plugin_path=$(shared_plugin_path "$plugin")

22 22

cd $plugin_path &&

23 -

git pull &&

24 -

git submodule update --init --recursive

23 +

GIT_TERMINAL_PROMPT=0 git pull &&

24 +

GIT_TERMINAL_PROMPT=0 git submodule update --init --recursive

25 25

}

26 26 27 27

update() {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4