Merge branch 'ab/index-pack-retain-child-bases' into next

"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
next
Junio C Hamano 2026-06-12 05:46:58 -07:00
commit 625f76ac4c
1 changed files with 0 additions and 1 deletions

View File

@ -1212,7 +1212,6 @@ static void *threaded_second_pass(void *data)
list_add(&child->list, &work_head);
base_cache_used += child->size;
prune_base_data(NULL);
free_base_data(child);
} else if (child) {
/*
* This child does not have its own children. It may be