On Saturday, 19 September 2020 at 09:53:29 UTC, wjoe wrote:
This is a bastardized version of the git gcc-descr alias.
git describe --all --abbrev=40 --match 'basepoints/gcc-[0-9]*'
origin/master | sed -n 's,^\(tags/\)\?basepoints/gcc-,r,p'
That should get you a tag like
r11-3179-g5de41c886207a3a0ff1f44ce0a5a644e9d9a17f8
Thanks.
This fails with:
fatal: No names found, cannot describe anything.
This is probably because of a shallow clone and maybe also
because there aren't any tags.
Would this tag be 'basepoints/gcc-10' ?