]> git.ipfire.org Git - thirdparty/git.git/blobdiff - GIT-VERSION-GEN
i18n: add no-op _() and N_() wrappers
[thirdparty/git.git] / GIT-VERSION-GEN
index 7d16b013824cc6974fe49e9a49c588146b6d7e2d..92fe7a59dbf81b0a055280f9351811641ce7044a 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 GVF=GIT-VERSION-FILE
-DEF_VER=v1.6.6.3
+DEF_VER=v1.7.4
 
 LF='
 '
@@ -12,7 +12,7 @@ if test -f version
 then
        VN=$(cat version) || VN="$DEF_VER"
 elif test -d .git -o -f .git &&
-       VN=$(git describe --abbrev=4 HEAD 2>/dev/null) &&
+       VN=$(git describe --match "v[0-9]*" --abbrev=4 HEAD 2>/dev/null) &&
        case "$VN" in
        *$LF*) (exit 1) ;;
        v[0-9]*)