From: Jeff King Date: Wed, 07 Oct 2020 18:19:56 GMT Subject: [PATCH 3/3] index-pack: stop mentioning find_unresolved_deltas() Message-ID: <20201007181956.GC1976631@coredump.intra.peff.net> In-Reply-To: <20201007181708.GA222564@coredump.intra.peff.net> A comment mentions that we may free cached delta bases via find_unresolved_deltas(), but that function went away in f08cbf60fe (index-pack: make quantum of work smaller, 2020-09-08). Its call to prune_base_data() was moved into threaded_second_pass(), so just refer to that. Signed-off-by: Jeff King --- builtin/index-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/index-pack.c b/builtin/index-pack.c index f8f1b48e56..e36f05f7a3 100644 --- a/builtin/index-pack.c +++ b/builtin/index-pack.c @@ -898,7 +898,7 @@ static void sha1_object(const void *data, struct object_entry *obj_entry, * parents, possibly up to the top base. * * All deflated objects here are subject to be freed if we exceed - * delta_base_cache_limit, just like in find_unresolved_deltas(), we + * delta_base_cache_limit, just like in threaded_second_pass(), we * just need to make sure the last node is not freed. */ static void *get_base_data(struct base_data *c) -- 2.29.0.rc0.520.gccaf68d5cd