]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
share/mk/configure/version.mk: $DISTDATECMD: Use committer date, not author date
authorAlejandro Colomar <alx@kernel.org>
Mon, 26 Feb 2024 00:10:41 +0000 (01:10 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 26 Feb 2024 01:29:43 +0000 (02:29 +0100)
Comitter date is always increasing, while author date may jump
backwards, which is problematic with make(1).

Signed-off-by: Alejandro Colomar <alx@kernel.org>
share/mk/configure/version.mk

index 0996ab3239e3c77f3de6dd503cf42ef4f8ad93d6..c046cd9635141fc9e90df37c327b0b3db7bcafc3 100644 (file)
@@ -34,7 +34,7 @@ DISTDATECMD := \
                | $(SORT) -n \
                | $(TAIL) -n1; \
        else \
-               $(GIT) log -1 --format='%aD'; \
+               $(GIT) log -1 --format='%cD'; \
        fi;