summaryrefslogtreecommitdiff
path: root/t/.gitignore
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-05-26 12:28:44 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-26 11:25:13 -0700
commitb1905aeac5aded421cd90f8d264e27bb39672b36 (patch)
treee26b89dbe13296cf2dcf7e2b3cfd8af9203df510 /t/.gitignore
parentremove tests of always-false condition (diff)
downloadtgif-b1905aeac5aded421cd90f8d264e27bb39672b36.tar.xz
read_gitfile_gently: use ssize_t to hold read result
Otherwise, a negative error return becomes a very large read value. We catch this in practice because we compare the expected and actual numbers of bytes (and you are not likely to be reading (size_t)-1 bytes), but this makes the correctness a little more obvious. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/.gitignore')
0 files changed, 0 insertions, 0 deletions