Commit 35d8e8f3 authored by ale's avatar ale
Browse files

Print out the checked out repositories last commit

Useful for debugging.
parent 8b4e04b2
Pipeline #15298 failed with stages
in 19 minutes and 6 seconds
......@@ -44,6 +44,9 @@ git_clone() {
fi
[ $? -gt 0 ] && die "failed to clone repository ${repo}"
local rev=$(cd "${local_dir}" && git rev-parse HEAD | cut -c1-8)
echo "checked out $(basename "${local_dir}") at revision ${rev}" >&2
}
patsubst() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment