commit | 7de12fa54d42cfa0d8e53cf9e97a803a64f0d4f7 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Wed May 27 14:31:43 2015 -0700 |
committer | Shawn Pearce <sop@google.com> | Wed May 27 14:31:43 2015 -0700 |
tree | e07397c7d06245f94b0c9a0e4cf2f692a0ab1d06 | |
parent | 59b0188e99b6278de9751c2df238270adea12d16 [diff] |
GetArchive: Simplify RevWalk with try-with-resources The RevWalk is not used during the BinaryResult "callback", so this can be simplified to try-with-resources to parse the commit, get its root tree, and then release the RevWalk. Change-Id: I841d9239b59a09bbc85db295a3ee5e2868be330a