diff options
| author | Pablo Sabater <pabloosabaterr@gmail.com> | 2026-08-08 02:02:20 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-08-07 18:50:08 -0700 |
| commit | 50dd6d370cd6421b523347ffa94bdd35bd264833 (patch) | |
| tree | c48b6c99aacddf55fb10b8dddbde00e31fa86bdb /contrib/persistent-https | |
| parent | c5c971d967617592d27c1b7db72455f9277fad47 (diff) | |
fetch-object-info: die() on the remaining error path
Every failure in fetch_object_info() dies except one: a short read while
parsing the attribute lines returns -1. That -1 is then passed through
fetch_object_info_via_pack() and get_remote_info() up to cat-file, only
to die() with a generic message.
Die in fetch_object_info() instead, consistently with the rest of its
error paths, and make fetch_object_info() void.
Mentored-by: Karthik Nayak <karthik.188@gmail.com>
Mentored-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Pablo Sabater <pabloosabaterr@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
