]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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)

1  2 
git-compat-util.h

Simple merge