summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorKristoffer Haugsbakk <code@khaugsbakk.name>2026-01-05 20:53:21 +0100
committerJunio C Hamano <gitster@pobox.com>2026-01-06 07:30:16 +0900
commit6f693364cc183ea5a8296c9ce2ff515f47206f92 (patch)
tree4bf41753d30cd092b9fb196010de60779dc40c3b /contrib/persistent-https
parentf67f7ddbbd03634318d54b1d1ad7ed8df4a2b292 (diff)
downloadgit-6f693364cc183ea5a8296c9ce2ff515f47206f92.tar.gz
git-6f693364cc183ea5a8296c9ce2ff515f47206f92.zip
replay: die if we cannot parse object
`parse_object` can return `NULL`. That will in turn make `repo_peel_to_type` return the same. Let’s die fast and descriptively with the `*_or_die` variant. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions