Skip to content

Commit 0a45050

Browse files
committed
Merge branch 'rj/git-version-gen-do-not-force-abbrev'
A minor build update. * rj/git-version-gen-do-not-force-abbrev: GIT-VERSION-GEN: do not force abbreviation length used by 'describe'
2 parents db09f21 + a765974 commit 0a45050

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GIT-VERSION-GEN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if test -f version
1212
then
1313
VN=$(cat version) || VN="$DEF_VER"
1414
elif test -d ${GIT_DIR:-.git} -o -f .git &&
15-
VN=$(git describe --match "v[0-9]*" --abbrev=7 HEAD 2>/dev/null) &&
15+
VN=$(git describe --match "v[0-9]*" HEAD 2>/dev/null) &&
1616
case "$VN" in
1717
*$LF*) (exit 1) ;;
1818
v[0-9]*)

0 commit comments

Comments
 (0)