Skip to content

Commit 721dab7

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 <[email protected]>
1 parent 5151bb5 commit 721dab7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

midx-write.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,6 +1124,7 @@ static int write_midx_internal(struct repository *r, const char *object_dir,
11241124
m = m->base_midx;
11251125
}
11261126
} else if (ctx.m && fill_packs_from_midx(&ctx)) {
1127+
result = 1;
11271128
goto cleanup;
11281129
}
11291130

0 commit comments

Comments
 (0)