summaryrefslogtreecommitdiff
path: root/gpg-interface.h
diff options
context:
space:
mode:
authorLibravatar Kim Gybels <kgybels@infogroep.be>2018-01-24 12:14:16 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-01-24 12:55:26 -0800
commitba41a8b600871b68680ff33de08012f4887133a2 (patch)
tree2bebc8c302e63b07e8caae82cfc0dbf361e1f5da /gpg-interface.h
parentload_contents(): don't try to mmap an empty file (diff)
downloadtgif-ba41a8b600871b68680ff33de08012f4887133a2.tar.xz
packed_ref_cache: don't use mmap() for small files
Take a hint from commit ea68b0ce9f8 (hash-object: don't use mmap() for small files, 2010-02-21) and use read() instead of mmap() for small packed-refs files. Signed-off-by: Kim Gybels <kgybels@infogroep.be> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gpg-interface.h')
0 files changed, 0 insertions, 0 deletions