@leroysheep / BookAlchemy / commits / 87abcd426a

V: use the describe --long format

This will hopefully help catching a mistake to tag different commits with the same tag again.

Junio C Hamano committed Nov 23, 2023 at 13:28 UTC 87abcd426a0386f348b360150d26d00b2075f2de
1 file changed +2 -2
V
+2 -2
index d13d960e3c..8dee018a23 100755 --- a/V +++ b/V @@ -55,7 +55,7 @@ do in="" out="" installed=" none" else - installed=$(git describe $version) + installed=$(git describe --long $version) case "$dirty" in '') ;; @@ -65,7 +65,7 @@ do in="" out="" 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"