diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-03-27 04:02:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-27 04:02:56 +0000 |
commit | 4c1b439ccd286dc8c8a84cd8eed57d1b230c6177 (patch) | |
tree | 5a0b0cadee2024b8c76fd49fbcefe248f03ae182 /docker | |
parent | 975860bd04dde49355c856449bcbf5cb290d7279 (diff) | |
parent | 473a5a1d3a463dd0c47c0785094f7ed0e821b399 (diff) |
Merge "pathspec 'master' did not match any file(s) known to git"
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/exec_tests.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/exec_tests.sh b/docker/exec_tests.sh index 5e0d30453..db053f7bc 100755 --- a/docker/exec_tests.sh +++ b/docker/exec_tests.sh @@ -22,7 +22,7 @@ git_checkout() { if git cat-file -e $1^{commit} 2>/dev/null; then # branch, tag or sha1 object - git checkout $1 + git checkout $1 && git pull else # refspec / changeset git fetch --tags --progress $2 $1 @@ -45,7 +45,6 @@ if [ ! -d $YARDSTICK_REPO_DIR ]; then git clone $YARDSTICK_REPO $YARDSTICK_REPO_DIR fi cd $YARDSTICK_REPO_DIR -git checkout master git_checkout $YARDSTICK_BRANCH $YARDSTICK_REPO # setup the environment |