diff options
Diffstat (limited to 'util/genbuild_h')
-rwxr-xr-x | util/genbuild_h/genbuild_h.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh index b4878c6407..5e2fe7df8f 100755 --- a/util/genbuild_h/genbuild_h.sh +++ b/util/genbuild_h/genbuild_h.sh @@ -23,8 +23,8 @@ fi # $1: format string get_git_head_data() { - LANG="" git log --no-show-signature -1 --format="format:$1" 2>/dev/null || \ - LANG="" git log -1 --format="format:$1" + LANG="" git log --no-show-signature --abbrev=12 -1 --format="format:$1" 2>/dev/null || \ + LANG="" git log --abbrev=12 -1 --format="format:$1" } if [ "${BUILD_TIMELESS}" = "1" ]; then |