diff options
author | Richard Lowe <richlowe@richlowe.net> | 2014-02-23 19:54:47 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-02-24 09:52:44 -0800 |
commit | 7d0a9a752b66be76c4027ead98caa1be7bac5349 (patch) | |
tree | 5a6331a779afefa0b2165f4be6fd2c5a67bd83c3 /graph.h | |
parent | diff_filespec: use only 2 bits for is_binary flag (diff) | |
download | tgif-7d0a9a752b66be76c4027ead98caa1be7bac5349.tar.xz |
diffcore.h: be explicit about the signedness of is_binary
Bitfields need to specify their signedness explicitly or the compiler is
free to default as it sees fit. With compilers that default 'unsigned'
(SUNWspro 12 seems to do this) the tri-state nature of is_binary
vanishes and all files are treated as binary.
Signed-off-by: Richard Lowe <richlowe@richlowe.net>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.h')
0 files changed, 0 insertions, 0 deletions