aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/revwalk
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-06-22 16:42:29 -0700
committerShawn O. Pearce <spearce@spearce.org>2010-06-23 16:54:15 -0700
commit066df3d1a14c3317273fe56a60948bff2edee8dc (patch)
treeb11bfb0a0fb63c3357589d5a40ca7150ff8f1b42 /org.eclipse.jgit/src/org/eclipse/jgit/revwalk
parent677b9b17e289bcce645b03986cee1e8b30f688ec (diff)
downloadjgit-066df3d1a14c3317273fe56a60948bff2edee8dc.tar.gz
jgit-066df3d1a14c3317273fe56a60948bff2edee8dc.zip
Add MutableObjectId.copyFrom(AnyObjectId)
This simplifies the PackIndex code, which is trying to quickly copy an existing ObjectId into a MutableObjectId. Rather than having the PackIndex violate the ObjectId's internals, expose a copy from function similar to the other ones for copying from raw byte arrays or hex formatted strings. Change-Id: I142635cbece54af2ab83c58477961ce925dc8255 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/revwalk')
0 files changed, 0 insertions, 0 deletions