git-commit-vandalism/refs
Michael Haggerty 89c571da56 read_packed_refs(): report unexpected fopen() failures
The old code ignored any errors encountered when trying to fopen the
"packed-refs" file, treating all such failures as if the file didn't
exist. But it could be that there is some other error opening the
file (e.g., permissions problems), and we don't want to silently
ignore such problems. So report any failures that are not due to
ENOENT.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-05-23 14:29:56 +09:00
..
files-backend.c read_packed_refs(): report unexpected fopen() failures 2017-05-23 14:29:56 +09:00
iterator.c prefix_ref_iterator: don't trim too much 2017-05-23 14:29:52 +09:00
ref-cache.c refs/files-backend: convert many internals to struct object_id 2017-05-08 15:12:58 +09:00
ref-cache.h read_packed_refs(): do more of the work of reading packed refs 2017-05-23 14:29:55 +09:00
refs-internal.h ref_update_reject_duplicates(): expose function to whole refs module 2017-05-23 14:29:55 +09:00