Skip to content

Commit 59708a1

Browse files
derrickstoleedscho
authored andcommitted
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 <[email protected]>
1 parent 8c1463e commit 59708a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scalar.c

+1
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ static int set_recommended_config(int reconfigure)
170170
{ "core.autoCRLF", "false" },
171171
{ "core.safeCRLF", "false" },
172172
{ "fetch.showForcedUpdates", "false" },
173+
{ "pack.usePathWalk", "true" },
173174
{ NULL, NULL },
174175
};
175176
int i;

0 commit comments

Comments
 (0)