summaryrefslogtreecommitdiff
path: root/compat/bswap.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-10-18 00:58:40 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-28 14:05:18 +0900
commit5afc4b1dc622d574bcd67b5845789a0b5875431a (patch)
tree0f890ebb095a065683e67f963bc58f762520f684 /compat/bswap.h
parentfsck: don't require object structs for display functions (diff)
downloadtgif-5afc4b1dc622d574bcd67b5845789a0b5875431a.tar.xz
fsck: only provide oid/type in fsck_error callback
None of the callbacks actually care about having a "struct object"; they're happy with just the oid and type information. So let's give ourselves more flexibility to avoid having a "struct object" by just passing the broken-down fields. Note that the callback already takes a "type" field for the fsck message type. We'll rename that to "msg_type" (and use "object_type" for the object type) to make the distinction explicit. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/bswap.h')
0 files changed, 0 insertions, 0 deletions