summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 7c691b645..5066f8178 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1867,8 +1867,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 log -n 1)
+ git_version=$(cd $srcdir ; git log -n 1 | head -n 1 2>/dev/null)
])
AS_IF([test "X$git_version" = "X"],
[