]> git.ipfire.org Git - thirdparty/git.git/commit
GIT-VERSION-GEN: fix overriding GIT_BUILT_FROM_COMMIT and GIT_DATE
authorPatrick Steinhardt <ps@pks.im>
Fri, 20 Dec 2024 19:44:25 +0000 (20:44 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Dec 2024 20:36:45 +0000 (12:36 -0800)
commitcfa01e6da515e409fdeaf39e50e8c3b7a70405b9
tree38d1d643ff7c3000753ecfacb33f347cbb061873
parent992bc5618f2879a8d7f00a60489e78c48e661820
GIT-VERSION-GEN: fix overriding GIT_BUILT_FROM_COMMIT and GIT_DATE

Same as with the preceding commit, neither GIT_BUILT_FROM_COMMIT nor
GIT_DATE can be overridden via the environment. Especially the latter is
of importance given that we set it in our own "Documentation/doc-diff"
script.

Make the values of both variables overridable. Luckily we don't pull in
these values via any included Makefiles, so the fix is trivial compared
to the fix for GIT_VERSON.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
GIT-VERSION-GEN
shared.mak