]> git.ipfire.org Git - thirdparty/git.git/commit
midx-write: put failing response value back
authorDerrick Stolee <stolee@gmail.com>
Fri, 5 Sep 2025 19:26:14 +0000 (19:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Sep 2025 19:32:00 +0000 (12:32 -0700)
commit3a45c7beb0f66bad122a1c319c71add5533e1f00
treedc0e68d84a097a742ab8cc1c3f93d2ee86062249
parentc9388d9012a71c6ef83ec94bd72eeb93f53caee4
midx-write: put failing response value back

This instance of setting the result to 1 before going to cleanup was
accidentally removed in fcb2205b77 (midx: implement support for writing
incremental MIDX chains, 2024-08-06). Build upon a test that already deletes
a packfile to verify that this error propagates to full command failure.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx-write.c
t/t5319-multi-pack-index.sh