diff options
author | Karsten Blees <blees@dcon.de> | 2018-10-23 03:23:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-24 13:18:14 +0900 |
commit | d7e8c87421868ab7dab2814360d277a425b42bc5 (patch) | |
tree | f4c6b73fac6102498c3758c7e20424b387de0c2b /refspec.c | |
parent | mingw: replace MSVCRT's fstat() with a Win32-based implementation (diff) | |
download | tgif-d7e8c87421868ab7dab2814360d277a425b42bc5.tar.xz |
mingw: implement nanosecond-precision file times
We no longer use any of MSVCRT's stat-functions, so there's no need to
stick to a CRT-compatible 'struct stat' either.
Define and use our own POSIX-2013-compatible 'struct stat' with nanosecond-
precision file times.
Note: This can cause performance issues when using Git variants with
different file time resolutions, as the timestamps are stored in the Git
index: after updating the index with a Git variant that uses
second-precision file times, a nanosecond-aware Git will think that
pretty much every single file listed in the index is out of date.
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refspec.c')
0 files changed, 0 insertions, 0 deletions