]> source.dussan.org Git - jgit.git/commit
Break the dependency on RevObject when creating a newObjectToPack(). 38/7938/10
authorColby Ranger <cranger@google.com>
Mon, 27 Aug 2012 23:08:42 +0000 (16:08 -0700)
committerColby Ranger <cranger@google.com>
Mon, 4 Mar 2013 22:43:22 +0000 (14:43 -0800)
commitbe7a135e94d9c71da3e9cd28edfd10ba7be3747d
tree81b568ea51d6ff687149c9c6173263796508147f
parent8d4f227c138bf3ccf13cf83ab63fde2fc49d3756
Break the dependency on RevObject when creating a newObjectToPack().

Update the ObjectReuseAsIs API to support creating new
ObjectToPack with only the AnyObjectId and Git object type. This is
needed to support the future pack index bitmaps, which only contain
this information and do not want the overhead of creating a temporary
object for every ObjectId.

Change-Id: I906360b471412688bf429ecef74fd988f47875dc
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowPackDelta.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsObjectToPack.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsReader.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/LocalObjectToPack.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCursor.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/ObjectReuseAsIs.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/ObjectToPack.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java