diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java | 2 |
1 files changed, 1 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 a9b36b0fbb..c52833127c 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java @@ -1170,7 +1170,7 @@ public class DirCacheCheckout { DirCacheEntry entry) throws IOException { ObjectReader or = repository.newObjectReader(); try { - checkoutEntry(repository, f, entry, repository.newObjectReader()); + checkoutEntry(repository, f, entry, or); } finally { or.release(); } |