summaryrefslogtreecommitdiff
path: root/misc/hooks/README.md
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2018-02-24 17:34:10 +0100
committerRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-24 18:09:20 +0100
commit8cde69f5f2fa78ebd7651186eb8bd3abae9dfdd5 (patch)
tree0abe8847d38e35a339011f46d126914e9df36f7c /misc/hooks/README.md
parentbc4b7bc82e9a68975849de92ab6bdcd3f5ef4e62 (diff)
Fix Windows file case changing
Windows APIs don't really provide a way to change a filename case. This implements a little juggling to make this work. We first create a guaranteed unique temporary file, we then replace the original file with the temporary file and we finally rename it to the desired filename case. (cherry picked from commit d69d58deeaa523c6c38958b3956423ae8f814909)
Diffstat (limited to 'misc/hooks/README.md')
0 files changed, 0 insertions, 0 deletions