summaryrefslogtreecommitdiff
path: root/xdiff-interface.h
diff options
context:
space:
mode:
authorLibravatar Ben Peart <benpeart@microsoft.com>2018-10-10 11:59:33 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-11 15:32:48 +0900
commit371ed0defa2a8692731d164e7a2d5e53e0a22362 (patch)
tree1b8c11e163a2b12052de4b2461e23ae5b6edbedb /xdiff-interface.h
parentread-cache.c: optimize reading index format v4 (diff)
downloadtgif-371ed0defa2a8692731d164e7a2d5e53e0a22362.tar.xz
read-cache: clean up casting and byte decoding
This patch does a clean up pass to minimize the casting required to work with the memory mapped index (mmap). It also makes the decoding of network byte order more consistent by using get_be32() where possible. Signed-off-by: Ben Peart <benpeart@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff-interface.h')
0 files changed, 0 insertions, 0 deletions