From: Junio C Hamano Date: Sun, 26 Apr 2009 06:39:24 +0000 (-0700) Subject: Meta/V: deal with the initial bootstrapping case a bit better X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4037b51ef434df83b7389f486e247064f25f5f78;p=thirdparty%2Fgit.git Meta/V: deal with the initial bootstrapping case a bit better There could be no git installed initially from the integration branch being probed. --- diff --git a/V b/V index e4d15c9a2e..2cbab58be4 100755 --- a/V +++ b/V @@ -42,6 +42,10 @@ do then in= out= installed=${dirty:+" (with changes)"} + elif test -z "$version" + then + in="" out="" + installed=" none" else installed=$(git describe $version) case "$dirty" in