clone.sh: Output repo URL before doing git log
To make it clear to which repo the git log output is related and avoid
guesswork or additional effort to identify it.
Related to https://linaro.atlassian.net/browse/TFC-191
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: Ib1499f68a686e63c9e526441331138b47994acc1
diff --git a/scripts/clone.sh b/scripts/clone.sh
index 249ae3c..df7b17c 100755
--- a/scripts/clone.sh
+++ b/scripts/clone.sh
@@ -118,12 +118,14 @@
cd ${SHARE_FOLDER}/${REPO_NAME}
git fetch ${REPO_URL} ${REPO_REFSPEC}
git checkout FETCH_HEAD
+ echo "Freshly cloned ${REPO_URL} (refspec ${REPO_REFSPEC}):"
git log -1
cd $OLDPWD
else
# otherwise just show the head's log
cd ${SHARE_FOLDER}/${REPO_NAME}
+ echo "Using existing shared folder checkout for ${REPO_URL}:"
git log -1
cd $OLDPWD
fi