]> source.dussan.org Git - jgit.git/commit
Fix checking out large files 33/2033/3
authorShawn O. Pearce <spearce@spearce.org>
Fri, 3 Dec 2010 21:35:46 +0000 (13:35 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 4 Dec 2010 00:37:56 +0000 (16:37 -0800)
commit61db0e4787b2f330816d15fe173d7784fae02c60
tree24dcffd4a5beca4812f19d75d2a9d397317889a7
parent37001ddc8df83237840896ed82fe584a9163c698
Fix checking out large files

DirCacheCheckout needs to use ObjectLoader.copyTo to avoid loading the
complete content of a large file into the JVM heap.

Bug: 321097
Change-Id: I967590b6f233fd1c83d873075db01d653208b3b9
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Chris Aniszczyk <caniszczyk@gmail.com>
CC: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java