Merge branch 'ms/update-index-racy'
commitee52b35e503fda30a269212823cc3dc67c907af7
authorJunio C Hamano <gitster@pobox.com>
Sat, 5 Feb 2022 17:42:32 +0000 (5 09:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Feb 2022 17:42:32 +0000 (5 09:42 -0800)
tree8315a85199bb84f087c4468917cbc2c1fbf9f49c
parent1b4d9b4512ea5a4d76ac4af40e9a4ed4729403e3
parent2ede073fd2287eb91af26484c2e7dafc15ecb7b7
Merge branch 'ms/update-index-racy'

"git update-index --refresh" has been taught to deal better with
racy timestamps (just like "git status" already does).

* ms/update-index-racy:
  update-index: refresh should rewrite index in case of racy timestamps
  t7508: add tests capturing racy timestamp handling
  t7508: fix bogus mtime verification
  test-lib: introduce API for verifying file mtime
cache.h
t/test-lib-functions.sh