From f746ae2305f6452c2455f7b4e778fb1579aa38bb Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Fri, 21 Nov 2014 23:53:45 +0100 Subject: [PATCH] Fix plugin freeze when installing non-existing plugins Fixes #7 --- CHANGELOG.md | 4 ++++ scripts/install_plugins.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ce5bb3..6b40614 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog ### master +- change the way plugin name is expanded. It now uses the http username + and password by default, like this: `https://git::@github.com/`. This prevents + username and password prompt (and subsequently tmux install hanging) with old + git versions. Fixes #7. ### v1.2.0, 2014-11-20 - refactor tests so they can be used on travis diff --git a/scripts/install_plugins.sh b/scripts/install_plugins.sh index 3444c27..3cefd58 100755 --- a/scripts/install_plugins.sh +++ b/scripts/install_plugins.sh @@ -16,7 +16,7 @@ clone() { clone_plugin() { local plugin=$1 clone "$plugin" || - clone "https://github.com/$plugin" + clone "https://git::@github.com/$plugin" } # pull new changes or clone plugin