From: Jonathan Nieder Date: Tue, 17 Jul 2018 06:53:21 +0000 (-0700) Subject: gc: improve handling of errors reading gc.log X-Git-Tag: v2.20.0-rc0~182^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3c426eccc29e38301774e90adeea336642826b0c?ds=inline;hp=3c426eccc29e38301774e90adeea336642826b0c 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 Signed-off-by: Junio C Hamano ---