Fix plugin freeze when installing non-existing plugins

Fixes #7
This commit is contained in:
Bruno Sutic 2014-11-21 23:53:45 +01:00
parent 7c10afc061
commit f746ae2305
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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