]> source.dussan.org Git - jgit.git/commit
Create parent dir if necessary on checkout 66/6666/1
authorRobin Stocker <robin@nibor.org>
Sun, 8 Jul 2012 12:48:39 +0000 (14:48 +0200)
committerRobin Stocker <robin@nibor.org>
Sun, 8 Jul 2012 13:15:38 +0000 (15:15 +0200)
commita216624ef7628bf3746746f48f0c725fd55d1eaf
tree5fa76afb7a2695916abbf4cf7e60b95f1e48e66b
parentc0b4b79296966f53d3dd20913860942f9476dd20
Create parent dir if necessary on checkout

An example where this is necessary is when a whole directory was deleted
and checkout is used to restore a file which was in that directory.

Bug: 372133
Change-Id: I1d45e0a5d2525fe1fdfbf08c9c5c166dd909e9fd
Signed-off-by: Robin Stocker <robin@nibor.org>
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CheckoutCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutCommand.java