summaryrefslogtreecommitdiff
path: root/t/t5538-push-shallow.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:51 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 14:29:56 +0900
commit89c571da56a1e84fe12308f727fac0e82c1d5be6 (patch)
tree061b4d17ad48789c478469cb75d24e7440cc9b6b /t/t5538-push-shallow.sh
parentread_packed_refs(): do more of the work of reading packed refs (diff)
downloadtgif-89c571da56a1e84fe12308f727fac0e82c1d5be6.tar.xz
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>
Diffstat (limited to 't/t5538-push-shallow.sh')
0 files changed, 0 insertions, 0 deletions