summaryrefslogtreecommitdiff
path: root/t/perf
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2022-03-25 18:03:06 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-03-25 23:04:17 (GMT)
commit369f0f54ff92fe321e8c7c2d2372e0eb31f77303 (patch)
tree9f8af1d11326b59dd5b849f58b663e6b5f14baae /t/perf
parent08894d334969011394dee7ab1dde63176fc51830 (diff)
downloadgit-369f0f54ff92fe321e8c7c2d2372e0eb31f77303.zip
git-369f0f54ff92fe321e8c7c2d2372e0eb31f77303.tar.gz
git-369f0f54ff92fe321e8c7c2d2372e0eb31f77303.tar.bz2
t/helper/test-chmtime: skip directories on Windows
Teach `test-tool.exe chmtime` to ignore errors when setting the mtime on a directory on Windows. NEEDSWORK: The Windows version of `utime()` (aka `mingw_utime()`) does not properly handle directories because it uses `_wopen()`. It should be converted to using `CreateFileW()` and backup semantics at a minimum. Since I'm already in the middle of a large patch series, I did not want to destabilize other callers of `utime()` right now. The problem has only been observed in the t/perf/p7519 test when the test repo contains an empty directory on disk. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf')
0 files changed, 0 insertions, 0 deletions