summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorBen Peart <benpeart@microsoft.com>2018-10-10 11:59:33 -0400
committerJunio C Hamano <gitster@pobox.com>2018-10-11 15:32:48 +0900
commit371ed0defa2a8692731d164e7a2d5e53e0a22362 (patch)
tree1b8c11e163a2b12052de4b2461e23ae5b6edbedb /builtin/commit.c
parent252d079cbd27ca442d94535e3979145eceaf082b (diff)
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions