git/refs
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros
Using FLEX_ARRAY macros reduces the amount of manual
computation size we have to do. It also ensures we don't
overflow size_t, and it makes sure we write the same number
of bytes that we allocated.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2016-02-22 14:51:09 -08:00
..
files-backend.c convert trivial cases to FLEX_ARRAY macros 2016-02-22 14:51:09 -08:00
refs-internal.h refs: break out ref conflict checks 2015-11-20 04:52:01 -05:00