]> source.dussan.org Git - jgit.git/commit
FileUtils: improve delete (Windows) 10/159310/5
authorAlexander Nittka <alex@nittka.de>
Fri, 13 Mar 2020 13:16:50 +0000 (14:16 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Fri, 3 Apr 2020 17:30:31 +0000 (19:30 +0200)
commitbc4ed530a5f19b5dae77f3aa76369003bd6c3599
tree26f0092c372d7307589a071d83e550ed4365353a
parent9aaa58052b4f810da7a1b3cd67dadbd50e956934
FileUtils: improve delete (Windows)

Ensure files are writable before trying to delete them.

Bug: 408846
Change-Id: I930a547594bba853c33634ae54bd64d236afade3
Signed-off-by: Alexander Nittka <alex@nittka.de>
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FileUtilsTest.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java