]> source.dussan.org Git - jgit.git/commit
Deprecate checkoutEntry without ObjectReader 57/36957/1
authorShawn Pearce <sop@google.com>
Mon, 24 Nov 2014 19:38:09 +0000 (11:38 -0800)
committerShawn Pearce <sop@google.com>
Mon, 24 Nov 2014 20:59:45 +0000 (12:59 -0800)
commit3bc51889000bd9e3b52203ccdab5f0f77b7100ea
treee3a603b4d032b06ea236f89fffe1551598ff6a85
parentd81529029a887cbc2356d6fc8d0168bd2f031ca2
Deprecate checkoutEntry without ObjectReader

Callers should manage the ObjectReader, as this allows the JGit library to cache
context relevant information across files checked out at the same time. If the
caller only has one file to checkout, it should still explicitly manage the life
span of the ObjectReader.

Change-Id: Ib57fba6cb4b774ccff8c416ef4d32e2b390f16a9
org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/FileTreeIteratorTest.java
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java