From: Derrick Stolee Date: Fri, 16 May 2025 18:11:59 +0000 (+0000) Subject: scalar: enable path-walk during push via config X-Git-Tag: v2.51.0-rc0~141^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4933152cbb55ef2c7064d47aaf135eb5fa6c35f9;p=thirdparty%2Fgit.git scalar: enable path-walk during push via config 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 Signed-off-by: Junio C Hamano --- diff --git a/scalar.c b/scalar.c index da42b4be0c..bf638fa34b 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;