summaryrefslogtreecommitdiff
path: root/write_or_die.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-01-23 16:23:09 -0500
committerJunio C Hamano <gitster@pobox.com>2014-01-23 14:03:21 -0800
commit802b123366b5b3b6e18ee9e25a240815d1c97aae (patch)
treee0f885c82a00ed16d40987cca97bddac9b02881a /write_or_die.c
parent1a6d8b91489ad4a7b7d267b46a3e838b004157f1 (diff)
downloadgit-802b123366b5b3b6e18ee9e25a240815d1c97aae.tar.gz
block-sha1: factor out get_be and put_be wrappers
The BLK_SHA1 code has optimized wrappers for doing endian conversions on memory that may not be aligned. Let's pull them out so that we can use them elsewhere, especially the time-tested list of platforms that prefer each strategy. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions