diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-11 16:17:32 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-11 16:17:32 -0300 |
commit | 552cb25a3248b01be8de9485430e47dfe4d0a701 (patch) | |
tree | a09960146a72bd23dd747beabca30a53f789a735 /configure.ac | |
parent | 7a294ea0258cfc30c5b388e4d1afd463b4714705 (diff) |
git version set to HEAD instead of the latest known commit
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e9a9cf8e3..fc08c5f0a 100644 --- a/configure.ac +++ b/configure.ac @@ -455,7 +455,7 @@ AC_MSG_CHECKING(for source being under a VCS) git_version= AS_IF([test ! "X$gitcommand" = "X"], [ - git_version=$(cd $srcdir ; git rev-list --full-history --all --abbrev-commit | head -n 1 2>/dev/null) + git_version=$(cd $srcdir ; git rev-list -n 1 --abbrev-commit HEAD 2>/dev/null) ]) AS_IF([test "X$git_version" = "X"], [ |