Skip to content

Commit 9f6491f

Browse files
committed
Merge branch 'ab/index-pack-retain-child-bases' into jch
"git index-pack" has been optimized by retaining child bases in the delta cache instead of immediately freeing them, letting the existing cache limit policy decide eviction. * ab/index-pack-retain-child-bases: index-pack: retain child bases in delta cache
2 parents 0fae78c + 6e670b3 commit 9f6491f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

builtin/index-pack.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,6 @@ static void *threaded_second_pass(void *data)
12121212
list_add(&child->list, &work_head);
12131213
base_cache_used += child->size;
12141214
prune_base_data(NULL);
1215-
free_base_data(child);
12161215
} else if (child) {
12171216
/*
12181217
* This child does not have its own children. It may be

0 commit comments

Comments
 (0)