Skip to content

Commit

Permalink
scalar: enable path-walk during push via config
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
derrickstolee committed Nov 8, 2024
1 parent 318190a commit a38e033
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scalar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a38e033

Please sign in to comment.