]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap.c: do not ignore error when opening a bitmap file
authorTeng Long <dyroneteng@gmail.com>
Mon, 18 Jul 2022 16:46:03 +0000 (00:46 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Jul 2022 18:20:52 +0000 (11:20 -0700)
commit6411cc08f33952ab196ff232f94d602908faf344
tree42556afe737f2d9951845567cf84778aeb8a6a44
parent349c26ff295f43d7c9ae6d21a285fa417c9d3039
pack-bitmap.c: do not ignore error when opening a bitmap file

Calls to git_open() to open the pack bitmap file and
multi-pack bitmap file do not report any error when they
fail.  These files are optional and it is not an error if
open failed due to ENOENT, but we shouldn't be ignoring
other kinds of errors.

Signed-off-by: Teng Long <dyroneteng@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap.c