]> source.dussan.org Git - jgit.git/commit
Remove packIndex field from FileObjDatabase openPack method. 02/9602/2
authorColby Ranger <cranger@google.com>
Thu, 10 Jan 2013 21:01:17 +0000 (13:01 -0800)
committerColby Ranger <cranger@google.com>
Thu, 10 Jan 2013 22:02:28 +0000 (14:02 -0800)
commit82ecfb3e317d71d7cbc69a4d205846c2c575415f
treec3155107deb135c44583e6bfe98996420a1f1bf3
parent5d3c2b3def82298ff046d71726ad1e228500f97e
Remove packIndex field from FileObjDatabase openPack method.

Previously, the FileObjDatabase required both the pack file path and
index file path to be passed to openPack().  A future change to add
a bitmap index will add a .bitmap file parallel to the pack file
(similar to the .idx file). Update the PackFile to support
automatically loading pack index extensions based on the pack file
path.

Change-Id: Ifc8fc3e57f4afa177ba5a88df87334dbfa799f01
org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/TestRepository.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/PackWriterTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/storage/file/T0004_PackReaderTest.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/CachedObjectDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileObjectDatabase.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/FileRepository.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/GC.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ObjectDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/ObjectDirectoryPackParser.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java