summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2024-02-23 08:34:21 +0000
committerJunio C Hamano <gitster@pobox.com>2024-02-23 10:19:39 -0800
commitf30e6c32d8a27760915922b1ddf76f95f11539bb (patch)
tree334432972c83bcb2310488d3ead7d08085292015 /builtin/commit.c
parentd4bf19308b81653cfb0d7b54489010dc1e0113b0 (diff)
merge-ort: do check `parse_tree()`'s return value
The previous commit fixed a bug where a missing tree was reported, but not treated as an error. This patch addresses the same issue for the remaining two callers of `parse_tree()`. This change is not accompanied by a regression test because the code in question is only reached at the `checkout` stage, i.e. after the merge has happened (and therefore the tree objects could only be missing if the disk had gone bad in that short time window, or something similarly tricky to recreate in the test suite). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions