Git: fetch before checkout'ing a branch
This commit is contained in:
@@ -270,6 +270,7 @@ if [ ! -d "${SOURCE_DIRECTORY}" ]; then
|
||||
${GIT_C} submodule update --init --recursive
|
||||
else
|
||||
echo "Switching to benchmark branch..."
|
||||
${GIT_C} fetch --prune
|
||||
${GIT_C} checkout ${GIT_BENCHMARK_BRANCH}
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user