Changed to 'git clone --depth 1' in get_nanoversion.sh
br=`git branch |tail -n1`
read o u f <<< `git remote -v |grep origin |grep fetch`
echo "Repo: $o $u $br"
+
+# This doesn't work well for rc because it is supposed tag is not pushed yet.
git describe --tags --dirty
+
TD=`mktemp -d`
WD=`pwd`
-git clone $u $TD
+echo "Run 'git clone --depth 1 $u $TD'"
+git clone --depth 1 $u $TD
cd $TD
echo $u $br
git checkout $br
