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