summaryrefslogtreecommitdiff
path: root/credential-store.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-09-24 21:08:28 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-10-05 18:08:06 (GMT)
commit144e4cf7092ee8cff44e9c7600aaa7515ad6a78f (patch)
tree110d0c3b8b07e0b8cee2c843314361d3ea91df56 /credential-store.c
parenteddda371449ba925d91d04c615d084adf1b43a33 (diff)
downloadgit-144e4cf7092ee8cff44e9c7600aaa7515ad6a78f.zip
git-144e4cf7092ee8cff44e9c7600aaa7515ad6a78f.tar.gz
git-144e4cf7092ee8cff44e9c7600aaa7515ad6a78f.tar.bz2
fsck: drop inode-sorting code
Fsck tries to access loose objects in order of inode number, with the hope that this would make cold cache access faster on a spinning disk. This dates back to 7e8c174 (fsck-cache: sort entries by inode number, 2005-05-02), which predates the invention of packfiles. These days, there's not much point in trying to optimize cold cache for a large number of loose objects. You are much better off to simply pack the objects, which will reduce the disk footprint _and_ provide better locality of data access. So while you can certainly construct pathological cases where this code might help, it is not worth the trouble anymore. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'credential-store.c')
0 files changed, 0 insertions, 0 deletions