Meta/V: make the version string usable for cut & paste
Junio C Hamano committed
Apr 18, 2007 at 02:41 UTC
0825bf820299e123191539dc2be55a41182a2700
1 file changed
+1
V
+1
index d23bc59f05..8c4a6d40e9 100755
--- a/V
+++ b/V
@@ -12,6 +12,7 @@ do
then
in= out= installed=
else
+ installed=$(git describe $version)
in="[41;37m" out="[m" installed=" $installed"
fi
echo "$in$v$out $(git-describe refs/heads/$v)$installed"