diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-06-22 16:42:29 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-06-23 16:54:15 -0700 |
commit | 066df3d1a14c3317273fe56a60948bff2edee8dc (patch) | |
tree | b11bfb0a0fb63c3357589d5a40ca7150ff8f1b42 /org.eclipse.jgit/src/org/eclipse/jgit/revwalk | |
parent | 677b9b17e289bcce645b03986cee1e8b30f688ec (diff) | |
download | jgit-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