diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-10-23 03:23:19 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-24 13:18:14 +0900 |
commit | 7bf198388645995d72073d331fd2bc00243ffea1 (patch) | |
tree | fd88687a852c8572e2b644d417215ae3f92282ea /t/chainlint/command-substitution.expect | |
parent | Fifth batch for 2.20 (diff) | |
download | tgif-7bf198388645995d72073d331fd2bc00243ffea1.tar.xz |
mingw: factor out code to set stat() data
In our fstat() emulation, we convert the file metadata from Win32 data
structures to an emulated POSIX structure.
To structure the code better, let's factor that part out into its own
function.
Note: it would be tempting to try to unify this code with the part of
do_lstat() that does the same thing, but they operate on different data
structures: BY_HANDLE_FILE_INFORMATION vs WIN32_FILE_ATTRIBUTE_DATA. So
unfortunately, they cannot be unified.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/command-substitution.expect')
0 files changed, 0 insertions, 0 deletions