Skip to content

Commit

Permalink
Makefile.sh: use --abbrev=8 instead of --abbrev=4
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle J. McKay <[email protected]>
  • Loading branch information
mackyle committed Sep 8, 2021
1 parent 2e5f2f3 commit 75287a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ DEPFILE="Makefile.dep"

: "${SHELL_PATH:=/bin/sh}" "${AWK_PATH:=awk}"
version="$(
test -d .git && git describe --match "topgit-[0-9]*" --abbrev=4 --dirty 2>/dev/null |
test -d .git && git describe --match "topgit-[0-9]*" --abbrev=8 --dirty 2>/dev/null |
sed -e 's/^topgit-//')" || :

# config.sh is wrapped up for return safety
Expand Down

0 comments on commit 75287a4

Please sign in to comment.