diff options
| author | Kristoffer Haugsbakk <code@khaugsbakk.name> | 2026-01-05 20:53:21 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-06 07:30:16 +0900 |
| commit | 6f693364cc183ea5a8296c9ce2ff515f47206f92 (patch) | |
| tree | 4bf41753d30cd092b9fb196010de60779dc40c3b /contrib/persistent-https | |
| parent | f67f7ddbbd03634318d54b1d1ad7ed8df4a2b292 (diff) | |
| download | git-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
