diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-11 16:16:25 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-11 16:16:25 -0300 |
commit | 71ecf592f0070bb133f80a74bb2928b56f4d4708 (patch) | |
tree | a69ed59c9c547cb456dc1b1053e3aa788d664f3b /configure.ac | |
parent | 07594dd11bb4bc9f1b5e677966903dc1b106eaaf (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 fc228d86..d42e370e 100644 --- a/configure.ac +++ b/configure.ac @@ -280,7 +280,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"], [ |