diff --git a/docker/tester/pull-repo.sh b/docker/tester/pull-repo.sh index 9cdab0e..18619f1 100644 --- a/docker/tester/pull-repo.sh +++ b/docker/tester/pull-repo.sh @@ -33,10 +33,14 @@ then rm -rf "${cloneDir}" fi -printf "Cloning repo to ${cloneDir}.\n" +printf "Cloning $( echo "${repoUrl}" | sed 's/\(.*:\/\/\).*@\(.*\)/\1\2/' ).\n" git clone "${repoUrl}" "${cloneDir}" cd "${cloneDir}" +printf "Tracking branch:\n" +git branch -vv + + # If a commit SHA is specified then detach the HEAD and point at the commit if [[ -n "${commit}" ]] then