]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'pe/time-use-gettimeofday'
authorJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2023 17:51:52 +0000 (10:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Mar 2023 17:51:52 +0000 (10:51 -0700)
commitcdb1ef07d22c3ca88bf42ecd08c0c24d515c11ef
tree321a0fb5930cf43c65d81e28b7e95a19e8fce2b7
parentf879501ad08b228797f5473092186900828681d5
parent370ddcbc89646c7f53728ec7d1fb87597b52de67
Merge branch 'pe/time-use-gettimeofday'

time(2) on glib 2.31+, especially on Linux, goes out of sync with
higher resolution timers used for gettimeofday(2) and by the
filesystem.  Replace all calls to it with a git_time() wrapper and
use gettimeofday(2) in its implementation.

* pe/time-use-gettimeofday:
  git-compat-util: use gettimeofday(2) for time(2)
git-compat-util.h