diff options
author | Ben Peart <benpeart@microsoft.com> | 2018-10-10 11:59:33 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-11 15:32:48 +0900 |
commit | 371ed0defa2a8692731d164e7a2d5e53e0a22362 (patch) | |
tree | 1b8c11e163a2b12052de4b2461e23ae5b6edbedb /upload-pack.h | |
parent | read-cache.c: optimize reading index format v4 (diff) | |
download | tgif-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 'upload-pack.h')
0 files changed, 0 insertions, 0 deletions