aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2025-05-16 18:11:59 +0000
committerJunio C Hamano <gitster@pobox.com>2025-05-16 12:15:40 -0700
commit4933152cbb55ef2c7064d47aaf135eb5fa6c35f9 (patch)
tree327268c049e3ea08de40dec68a734e964ead6ab7
parentpack-objects: enable --path-walk via config (diff)
downloadgit-4933152cbb55ef2c7064d47aaf135eb5fa6c35f9.tar.gz
git-4933152cbb55ef2c7064d47aaf135eb5fa6c35f9.zip
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 <stolee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--scalar.c1
1 files changed, 1 insertions, 0 deletions
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;