Subject: Re: [PATCH 0/8] setup: centralize object database creation

From: Junio C Hamano <[email-masked]>
Date: Fri, 22 May 2026 09:32:35 +0900

Patrick Steinhardt <[email-masked]> writes:

> The series is built on top of aec3f58750 (Sync with 'maint', 2026-05-21)
> with ps/setup-wo-the-repository at df69f40c34 (setup: stop using
> `the_repository` in `init_db()`, 2026-05-19) merged into it.

FWIW, this merge needs the following merge-fix squashed into it,
for the topic to build standalone.

commit ce350f62ceb26f3276ea3b7ad78b7f8cb4c35cf7
Author: Junio C Hamano <[email-masked]>
Date:   Wed May 13 12:20:29 2026 +0900

    merge-fix/ps/setup-wo-the-repository
    
    with  js/objects-larger-than-4gb-on-windows

diff --git a/t/helper/test-synthesize.c b/t/helper/test-synthesize.c
index 1f28ecf0f2..3fa534fbdf 100644
--- a/t/helper/test-synthesize.c
+++ b/t/helper/test-synthesize.c
@@ -506,7 +506,7 @@ static int cmd__synthesize__pack(int argc, const char **argv,
 		OPT_END()
 	};
 
-	setup_git_directory_gently(&non_git);
+	setup_git_directory_gently(the_repository, &non_git);
 	repo = the_repository;
 	algo = unsafe_hash_algo(repo->hash_algo);