git-p4 icon indicating copy to clipboard operation
git-p4 copied to clipboard

Fix up temporary file usage for Windows

Open nsubtil opened this issue 9 years ago • 0 comments

On Windows you can't overwrite a file that you're holding an open file handle for. Create a temporary file with delete=false and reuse the filename instead. (This is less than ideal, but at least makes git-p4 work on Windows.)


This change is Reviewable

nsubtil avatar Dec 05 '16 23:12 nsubtil