diff options
author | David Symonds <dsymonds@golang.org> | 2018-06-21 13:24:03 +1000 |
---|---|---|
committer | David Symonds <dsymonds@golang.org> | 2018-06-21 13:31:25 +1000 |
commit | 2d9816a5e7daea58a1419fef70bfc8d220ffd6a2 (patch) | |
tree | d1578365030c0179b221f43517929b551b0c5840 /plumbing/protocol/packp/ulreq_test.go | |
parent | 0710c6cb710a0cdab04ab7f61cc62e23cfcacbee (diff) | |
download | go-git-2d9816a5e7daea58a1419fef70bfc8d220ffd6a2.tar.gz |
packfile: optimise NewIndexFromIdxFile for a very common case
Loading from an on-disk idxfile will usually already have the idxfile
entries in order, so check that before wasting time on sorting.
Signed-off-by: David Symonds <dsymonds@golang.org>
Diffstat (limited to 'plumbing/protocol/packp/ulreq_test.go')
0 files changed, 0 insertions, 0 deletions