diff options
author | Tao Klerks <tao@klerks.biz> | 2022-03-02 06:05:23 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-01 22:55:07 -0800 |
commit | 090a3085bc9f2101b69b3c8940278fb7c22f02c9 (patch) | |
tree | 8be0da8bd6ca82780c067c84b0475540b604b22a /Documentation/install-doc-quick.sh | |
parent | The eighth batch (diff) | |
download | tgif-090a3085bc9f2101b69b3c8940278fb7c22f02c9.tar.xz |
t/helper/test-chmtime: update mingw to support chmtime on directories
The mingw_utime implementation in mingw.c does not support
directories. This means that "test-tool chmtime" fails on Windows when
targeting directories. This has previously been noted and sidestepped
temporarily by Jeff Hostetler, in "t/helper/test-chmtime: skip
directories on Windows" in the "Builtin FSMonitor Part 2" work, but
not yet fixed.
It would make sense to backdate file and folder changes in untracked
cache tests, to avoid needing to insert explicit delays/pauses in the
tests.
Add support for directory date manipulation in mingw_utime by
replacing the file-oriented _wopen() call with the
directory-supporting CreateFileW() windows API explicitly.
Signed-off-by: Tao Klerks <tao@klerks.biz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/install-doc-quick.sh')
0 files changed, 0 insertions, 0 deletions