From: Derrick Stolee via GitGitGadget Date: Fri, 16 May 2025 18:11:59 GMT Subject: [PATCH v3 09/13] scalar: enable path-walk during push via config Message-ID: <8e1d141a1f87dcdfd967c239a68a864380f39d02.1747419124.git.gitgitgadget@gmail.com> In-Reply-To: From: Derrick Stolee Repositories registered with Scalar are expected to be client-only repositories that are rather large. This means that they are more likely to be good candidates for using the --path-walk option when running 'git pack-objects', especially under the hood of 'git push'. Enable this config in Scalar repositories. Signed-off-by: Derrick Stolee --- scalar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scalar.c b/scalar.c index da42b4be0cc9..bf638fa34b80 100644 --- a/scalar.c +++ b/scalar.c @@ -170,6 +170,7 @@ static int set_recommended_config(int reconfigure) { "core.autoCRLF", "false" }, { "core.safeCRLF", "false" }, { "fetch.showForcedUpdates", "false" }, + { "pack.usePathWalk", "true" }, { NULL, NULL }, }; int i; -- gitgitgadget