Merge branch 'jk/test-bitmap-fix'
Tighten code for testing pack-bitmap. * jk/test-bitmap-fix: test_bitmap_hashes(): handle repository without bitmaps
This commit is contained in:
commit
a9c84980d0
@ -1759,7 +1759,7 @@ int test_bitmap_hashes(struct repository *r)
|
||||
struct object_id oid;
|
||||
uint32_t i, index_pos;
|
||||
|
||||
if (!bitmap_git->hashes)
|
||||
if (!bitmap_git || !bitmap_git->hashes)
|
||||
goto cleanup;
|
||||
|
||||
for (i = 0; i < bitmap_num_objects(bitmap_git); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user