From 0e6015a9e1f6ee297f01ca02bf4ca88c12e06702 Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Fri, 23 Jan 2015 23:50:24 -0200 Subject: [PATCH] correctly checkout branch on travis install --- tools/install.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.fish b/tools/install.fish index 421c0cf..48a94c4 100644 --- a/tools/install.fish +++ b/tools/install.fish @@ -58,7 +58,7 @@ end # Either git clone or curl GET repository. log blue "Cloning Oh My Fish from remote repository..." if type git >/dev/null - git clone "https://github.com/$TRAVIS_REPO_SLUG.git" $fish_path + git clone -b $TRAVIS_BRANCH "https://github.com/$TRAVIS_REPO_SLUG.git" $fish_path else log yellow "Install git to pull Oh-My-Fish updates" log white "Downloading remote zip from Github..."