summaryrefslogtreecommitdiff
path: root/builtin/reflog.c
diff options
context:
space:
mode:
authorLibravatar Jonathan Nieder <jrnieder@gmail.com>2018-07-16 23:53:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-17 11:18:07 -0700
commit3c426eccc29e38301774e90adeea336642826b0c (patch)
treef725d148f84c020b3c51254c9a3f77d93e300838 /builtin/reflog.c
parentGit 2.18 (diff)
downloadtgif-3c426eccc29e38301774e90adeea336642826b0c.tar.xz
gc: improve handling of errors reading gc.log
A collection of minor error handling fixes: - use an error message in lower case, following the usual style - quote filenames in error messages to make them easier to read and to decrease translation load by matching other 'stat' error messages - check for and report errors from 'read', too - avoid being confused by a gc.log larger than INT_MAX bytes Noticed by code inspection. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reflog.c')
0 files changed, 0 insertions, 0 deletions