summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Doan Tran Cong Danh <congdanhqx@gmail.com>2019-11-28 19:25:03 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-30 13:50:48 -0800
commitccd469450aaf62e6d0ce41a9738823d19d749a78 (patch)
treee15e54cd4a2d33cf7ff9fbc481410a094c51c0ea /cache-tree.c
parentThe first batch post 2.24 cycle (diff)
downloadtgif-ccd469450aaf62e6d0ce41a9738823d19d749a78.tar.xz
date.c: switch to reentrant {gm,local}time_r
Originally, git was intended to be single-thread executable. `gmtime(3)' and `localtime(3)' can be used in such codebase for cleaner code. Overtime, we're employing multithread in our code base. Let's phase out `gmtime(3)' and `localtime(3)' in favour of `gmtime_r(3)' and `localtime_r(3)'. Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions