]> source.dussan.org Git - jgit.git/commit
Checkout should be able to override modified symbolic links 40/62840/5
authorAndrey Loskutov <loskutov@gmx.de>
Wed, 16 Dec 2015 15:41:34 +0000 (16:41 +0100)
committerAndrey Loskutov <loskutov@gmx.de>
Thu, 17 Dec 2015 09:42:44 +0000 (10:42 +0100)
commit1aafa619589106434db1f239e89b2334432fdc18
tree8c258b2b3825f1551f49a0c9e75cc051df11f252
parent8cfbbc9f54323fc8594f43bf0d7b3b961f9b8c9f
Checkout should be able to override modified symbolic links

Handle existing symlink as a file, not as directory if deleting a file
before creating (overriding) a symlink.

Bug: 484491
Change-Id: I29dbf57d1daec2ba98454975b093e1d381d05196
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/PathCheckoutCommandTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FileUtilTest.java
org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java