We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 036dc74 commit 38b7b2eCopy full SHA for 38b7b2e
share/genbuild.sh
@@ -31,7 +31,7 @@ if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$
31
fi
32
33
# otherwise generate suffix from git, i.e. string like "59887e8-dirty"
34
- GIT_COMMIT=$(git rev-parse --short HEAD)
+ GIT_COMMIT=$(git rev-parse --short=12 HEAD)
35
git diff-index --quiet HEAD -- || GIT_COMMIT="$GIT_COMMIT-dirty"
36
37
0 commit comments