diff options
author | Zhen Chen <czhen@google.com> | 2017-06-08 16:55:26 -0700 |
---|---|---|
committer | Zhen Chen <czhen@google.com> | 2017-06-08 21:57:03 -0700 |
commit | 9a3e037726ab7a65bb4ec439c32fee962e105882 (patch) | |
tree | d2789c6350da5323acba189c3444e4bf8b7f2c03 /org.eclipse.jgit.junit | |
parent | 0d20573d9cdcbd41707323a7c964376218575750 (diff) | |
download | jgit-9a3e037726ab7a65bb4ec439c32fee962e105882.tar.gz jgit-9a3e037726ab7a65bb4ec439c32fee962e105882.zip |
Defer object collision check until pack stream is done
Object collision check requires read from local storage which may be
slow. We already delay this check for blobs, this change will also delay
other objects until the pack stream is closed. In this way, there is no
readCurs call until the pack stream is closed.
Change-Id: I3c8c4720dd19a5f64f8c7ddf07d815ed6877b6aa
Signed-off-by: Zhen Chen <czhen@google.com>
Diffstat (limited to 'org.eclipse.jgit.junit')
0 files changed, 0 insertions, 0 deletions