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 /refs/files-backend.c | |
| parent | d75e6973539f1f99561ae6f42a81f024497e3dfa (diff) | |
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 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions
