summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorrexxnor <rexxnor@brief.li>2021-04-18 17:23:56 +0200
committerrexxnor <rexxnor@brief.li>2021-04-18 17:23:56 +0200
commit676ed11fc45cab813652956c7012d622d9509b98 (patch)
treea38648e2281b68d5b91719fc87d47f78ac6d8357 /configure.ac
parentf49a7a90bbc946b9bc408772b013d69630fab91e (diff)
- fixed format for configure.ac git version
Diffstat (limited to 'configure.ac')
-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"],
[