Meta/V: deal with the initial bootstrapping case a bit better
There could be no git installed initially from the integration branch being probed.
Junio C Hamano committed
Apr 25, 2009 at 23:39 UTC
4037b51ef434df83b7389f486e247064f25f5f78
1 file changed
+4
V
+4
@@ -42,6 +42,10 @@ do
42
then
43
in= out=
44
installed=${dirty:+" (with changes)"}
45
+ elif test -z "$version"
46
+ then
47
+ in="[41;37m" out="[m"
48
+ installed=" none"
49
else
50
installed=$(git describe $version)
51
case "$dirty" in