This will hopefully help catching a mistake to tag different commits
with the same tag again.
in="\e[41;37m" out="\e[m"
installed=" none"
else
- installed=$(git describe $version)
+ installed=$(git describe --long $version)
case "$dirty" in
'')
;;
in="\e[41;37m" out="\e[m" installed=" $installed"
fi
output="$output${output:+$LF}"
- output="$output$in$v$out$installed $(git describe refs/heads/$v)"
+ output="$output$in$v$out$installed $(git describe --long refs/heads/$v)"
done
echo "$output"