summaryrefslogtreecommitdiff
path: root/Documentation/git-fsck.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2014-08-21 20:30:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-08-25 10:27:52 -0700
commite8d1dfe639f71dc957c30c1eaa82a3ef0010cd8e (patch)
tree1bbf774206ef7766a568f19d855959fae88fb3c7 /Documentation/git-fsck.txt
parentMerge branch 'maint-1.8.5' into maint-1.9 (diff)
downloadtgif-e8d1dfe639f71dc957c30c1eaa82a3ef0010cd8e.tar.xz
sha1_name: avoid quadratic list insertion in handle_one_ref
Similar to 16445242 (fetch-pack: avoid quadratic list insertion in mark_complete), sort only after all refs are collected instead of while inserting. The result is the same, but it's more efficient that way. The difference will only be measurable in repositories with a large number of refs. Signed-off-by: Rene Scharfe <l.s.r@web.de> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fsck.txt')
0 files changed, 0 insertions, 0 deletions