]> git.ipfire.org Git - thirdparty/git.git/blobdiff - GIT-VERSION-GEN
Git 2.44
[thirdparty/git.git] / GIT-VERSION-GEN
index 698e8dc37dbe5c2e5a0c9a3c8b1b6e6bb8cfe820..c9d1d29082c2e03617fd518d269cb15d867bbf08 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 GVF=GIT-VERSION-FILE
-DEF_VER=v2.43.3
+DEF_VER=v2.44.0
 
 LF='
 '
@@ -11,7 +11,7 @@ LF='
 if test -f version
 then
        VN=$(cat version) || VN="$DEF_VER"
-elif test -d ${GIT_DIR:-.git} -o -f .git &&
+elif { test -d "${GIT_DIR:-.git}" || test -f .git; } &&
        VN=$(git describe --match "v[0-9]*" HEAD 2>/dev/null) &&
        case "$VN" in
        *$LF*) (exit 1) ;;