summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-10-23 03:23:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-24 13:18:14 +0900
commit7bf198388645995d72073d331fd2bc00243ffea1 (patch)
treefd88687a852c8572e2b644d417215ae3f92282ea /t
parentFifth batch for 2.20 (diff)
downloadtgif-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')
0 files changed, 0 insertions, 0 deletions