summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2011-01-29 17:52:12 -0500
committerCode Review <codereview-daemon@eclipse.org>2011-01-29 17:52:12 -0500
commit9ffcf2a8b3cb49c445fabd011b26a36e622a033c (patch)
tree930526e957ff205047d51d9f688f7891fb0e96e4 /org.eclipse.jgit
parent9fbda2239202ca9d3a20c84d7326f47c667aa920 (diff)
parenta6e3f5306966e4befde17358c79941bc5849f826 (diff)
downloadjgit-9ffcf2a8b3cb49c445fabd011b26a36e622a033c.tar.gz
jgit-9ffcf2a8b3cb49c445fabd011b26a36e622a033c.zip
Merge changes I3a74cc84,I219f864f
* changes: [findbugs] Do not ignore exceptional return value of createNewFile() Do not create files to be updated before checkout of DirCache entry
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java
index dbd05117fd..8df583cc6a 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java
@@ -422,7 +422,6 @@ public class DirCacheCheckout {
if (!file.getParentFile().mkdirs()) {
// ignore
}
- file.createNewFile();
DirCacheEntry entry = dc.getEntry(path);
checkoutEntry(repo, file, entry);
}