aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2025-01-30 13:38:02 -0800
committerIvan Frade <ifrade@google.com>2025-02-03 12:01:34 -0800
commitccef9d428c219d92a6300ec91af4f8245dc32cd4 (patch)
tree7bb7f6caea74daeca005e382499417df4470cba3 /org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal
parent68b1a314beac30ffadc7b88a01ecbede6971d100 (diff)
downloadjgit-master.tar.gz
jgit-master.zip
PackIndex.MutableEntry: new methods to copy its contentsHEADmaster
To build the multipack index, we will iterate over N indexes merging the results in sha1 order. With the current MutableEntry API, we need to create an instance of ObjectId to either compare and/or copy the selected entry to the multi index iterator. Allow MutableEntries to compare to each other without creating any new object, and copy their object id directly to another MutableObjectId. This allows to build other iterators with mutable entries that copy the required memory (few ints) instead of creating short-lived instances of ObjectId. Change-Id: I0c0091420d7c0847c03afdc9e73b566bb4eeba40
Diffstat (limited to 'org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/internal')
0 files changed, 0 insertions, 0 deletions