summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-08-19 14:17:21 +0200
committerJunio C Hamano <gitster@pobox.com>2026-08-19 10:23:02 -0700
commit3295c347c3af27d046b179f60c5f28fddcfa8fbd (patch)
treec8d23eaa08c9ea9c1f794f66a86f54b918c3c5ac /t/t4013/diff.diff_initial..side
parentd55f3629e613af08c3520b65b7a13d030134be6e (diff)
odb/source: let callers discern missing and corrupt objects
As explained in the preceding commits, reading objects can either fail because the object truly does not exist or because it exists, but its data is corrupt. Some callers do care about this distinction, but there is no way to tell these two cases apart right now. Introduce a new `ODB_READ_NOT_FOUND` value that ought to be returned by the backends in case the object truly does not exist and adapt backends to use it. Note that we don't yet return this error from `odb_read_object_info()` itself. This will be fixed in a subsequent commit. Signed-off-by: Patrick Steinhardt <ps@pks.im> 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