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>
This commit is contained in:
committed by
Junio C Hamano
parent
4f7f571204
commit
4933152cbb
1
scalar.c
1
scalar.c
@@ -170,6 +170,7 @@ static int set_recommended_config(int reconfigure)
|
|||||||
{ "core.autoCRLF", "false" },
|
{ "core.autoCRLF", "false" },
|
||||||
{ "core.safeCRLF", "false" },
|
{ "core.safeCRLF", "false" },
|
||||||
{ "fetch.showForcedUpdates", "false" },
|
{ "fetch.showForcedUpdates", "false" },
|
||||||
|
{ "pack.usePathWalk", "true" },
|
||||||
{ NULL, NULL },
|
{ NULL, NULL },
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|||||||
Reference in New Issue
Block a user