]> git.ipfire.org Git - thirdparty/git.git/blobdiff - GIT-VERSION-GEN
GIT-VERSION-GEN: do not force abbreviation length used by 'describe'
[thirdparty/git.git] / GIT-VERSION-GEN
index 556fbfc104b1ed25edeac9b88fec3f697228efea..f95b04bb365fb83c0366a7206ee700ba3f898f6c 100755 (executable)
@@ -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]*)