]> Savannah Git Hosting - gnulib.git/commit
vc-mtime: Make it work with git versions < 2.28.
authorBruno Haible <bruno@clisp.org>
Fri, 2 May 2025 10:09:40 +0000 (12:09 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 May 2025 10:09:40 +0000 (12:09 +0200)
commit47548a77525a0f4489c9c420ccc2159079365da8
tree87754ff9ead68371d157d74d4f771babf649ef23
parentf4c40c2d6aabef8e587176bbf5226c8bc6649574
vc-mtime: Make it work with git versions < 2.28.

* lib/vc-mtime.c (git_version): New variable.
(is_git_present): Read the output of "git --version", and set
git_version.
(max_vc_mtime): Don't pass option --no-relative if the git version
is < 2.28.
ChangeLog
lib/vc-mtime.c