Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 397217
Collapse All | Expand All

(-)a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ObjectDirectory.java (-2 / +1 lines)
Lines 587-593 InsertLooseObjectResult insertUnpackedObject(File tmp, ObjectId id, Link Here
587
		// directories are always lazily created. Note that we
587
		// directories are always lazily created. Note that we
588
		// try the rename first as the directory likely does exist.
588
		// try the rename first as the directory likely does exist.
589
		//
589
		//
590
		FileUtils.mkdir(dst.getParentFile());
590
		FileUtils.mkdir(dst.getParentFile(), true);
591
		if (tmp.renameTo(dst)) {
591
		if (tmp.renameTo(dst)) {
592
			dst.setReadOnly();
592
			dst.setReadOnly();
593
			unpackedObjectCache.add(id);
593
			unpackedObjectCache.add(id);
594
- 

Return to bug 397217