Hello, Here is my first GSoC series - some work from the last week. It's actually not a PackWriter, but some changes in existing jgit core related to PackWriting. Some of these added methods/refactors are not yet used within this series, but are used in my dirty branch in PackWriter which is under-development, even somewhat usable. Series start with formatting stuff, as some old files were not appropriatelly formatted. This series is also available at my corechanges branch: http://repo.or.cz/w/egit/zawir.git?a=shortlog;h=refs/heads/corechanges It's based on Shawn's bsd branch, with new BSD-style license, but I can rebase if really needed. If you want to track some PackWriter (itself) development you may want to have a look at my dirty branch: http://repo.or.cz/w/egit/zawir.git?a=shortlog;h=refs/heads/dirty That's all. Although Shawn already reviewed some old version of this patches, I'm still interested in your comments. Marek Zawirski (12): Format PackFile class Format PackIndex class Format PackIndexV1 class Add getType() method to RevObject hierarchy Replace instanceof in WalkFetchConnection with getType() Move PackFile.SIGNATURE to Constants.PACK_SIGNATURE Add overload of fromRaw() in MutableObjectId accepting int[] Copying constructor of MutableObjectId Add getSize() method to ObjectIdSubclassMap Add getObjectCount() method to PackFile Entries iterator in PackIndex and indirectly PackFile Add PackIndex specific tests, currently only iterators tests .../tst/org/spearce/jgit/lib/PackIndexTest.java | 152 ++++++++++++++++++++ .../tst/org/spearce/jgit/lib/PackIndexV1Test.java | 54 +++++++ .../tst/org/spearce/jgit/lib/PackIndexV2Test.java | 54 +++++++ ...-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2 | Bin 0 -> 1296 bytes ...-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idxV2 | Bin 0 -> 2976 bytes .../src/org/spearce/jgit/lib/Constants.java | 8 + .../src/org/spearce/jgit/lib/MutableObjectId.java | 50 +++++++ .../org/spearce/jgit/lib/ObjectIdSubclassMap.java | 9 ++ .../src/org/spearce/jgit/lib/PackFile.java | 55 +++++-- .../src/org/spearce/jgit/lib/PackIndex.java | 86 +++++++++++- .../src/org/spearce/jgit/lib/PackIndexV1.java | 45 +++++- .../src/org/spearce/jgit/lib/PackIndexV2.java | 36 +++++ .../src/org/spearce/jgit/revwalk/RevBlob.java | 6 + .../src/org/spearce/jgit/revwalk/RevCommit.java | 5 + .../src/org/spearce/jgit/revwalk/RevObject.java | 8 + .../src/org/spearce/jgit/revwalk/RevTag.java | 5 + .../src/org/spearce/jgit/revwalk/RevTree.java | 6 + .../src/org/spearce/jgit/transport/IndexPack.java | 8 +- .../jgit/transport/WalkFetchConnection.java | 36 +++-- 19 files changed, 576 insertions(+), 47 deletions(-) create mode 100644 org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexTest.java create mode 100644 org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV1Test.java create mode 100644 org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV2Test.java create mode 100644 org.spearce.jgit.test/tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2 create mode 100644 org.spearce.jgit.test/tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idxV2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html