summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPablo Sabater <pabloosabaterr@gmail.com>2026-08-08 02:02:20 +0200
committerJunio C Hamano <gitster@pobox.com>2026-08-07 18:50:08 -0700
commit50dd6d370cd6421b523347ffa94bdd35bd264833 (patch)
treec48b6c99aacddf55fb10b8dddbde00e31fa86bdb /t/t4013/diff.diff_initial..side
parentc5c971d967617592d27c1b7db72455f9277fad47 (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 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions