commit | cfa3f365d6e526a10aa80004c7291cf1c89fbb0e | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <spearce@spearce.org> | Tue Nov 09 19:12:24 2010 -0800 |
committer | Shawn O. Pearce <spearce@spearce.org> | Tue Nov 09 19:13:13 2010 -0800 |
tree | c443a48f5931717a7da31c10055a8c80c1647e03 | |
parent | 17b1003ff221a7ab7d8ef749e15e1a753efd6109 [diff] |
Simplify LockFile write(ObjectId) case The ObjectId (for a ref) can be easily reformatted into a temporary byte[] and then passed off to write(byte[]), removing the duplicated code that existed in both write methods. Change-Id: I09740658e070d5f22682333a2e0d325fd1c4a6cb Signed-off-by: Shawn O. Pearce <spearce@spearce.org>