Skip to content

Commit da31820

Browse files
committed
midx-write: put failing response value back
This instance of setting the result to 1 before going to cleanup was accidentally removed in fcb2205 (midx: implement support for writing incremental MIDX chains, 2024-08-06). Signed-off-by: Derrick Stolee <stolee@gmail.com>
1 parent 112f662 commit da31820

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

midx-write.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,7 @@ static int write_midx_internal(struct repository *r, const char *object_dir,
11061106
m = m->base_midx;
11071107
}
11081108
} else if (ctx.m && fill_packs_from_midx(&ctx)) {
1109+
result = 1;
11091110
goto cleanup;
11101111
}
11111112

0 commit comments

Comments
 (0)