Use --abbrev=8 instead of --tags.

This commit is contained in:
Wayne Davison
2020-08-01 00:41:53 -07:00
parent d73c26d2b7
commit 72b2a81f90

View File

@@ -3,7 +3,7 @@
srcdir=`dirname $0`
if test -d "$srcdir/.git"; then
gitver=\"`git describe --tags`\" || exit 1
gitver=\"`git describe --abbrev=8`\" || exit 1
else
gitver=RSYNC_VERSION
fi