diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2025-05-21 12:37:46 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2025-05-21 12:37:46 (GMT) |
commit | 3f99c30431a22b66a794fae1bef1f5a8423e1887 (patch) | |
tree | fa552bf516745c1b4aab2c1c07cf195a86c8d89c | |
parent | e805190de0bd3acff811315871fd5c462050440a (diff) |
Compute the revision number more simply.
-rw-r--r-- | gitrev.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ -define([gitrepo], esyscmd([bash -c "echo -n $(( $(test -d .git && git rev-list HEAD | wc -l) + 4))"])) +define([gitrepo], esyscmd([bash -c "echo -n $(( $(test -d .git && git rev-list --count HEAD) + 4))"])) define([gitversion], ifelse(gitrepo, , 000, gitrepo)) |