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 <stolee@gmail.com>
  • Loading branch information
derrickstolee authored and dscho committed Oct 11, 2024
1 parent ee30cb1 commit 6bb0fb3
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" },
{ "push.usePathWalk", "true" },
{ NULL, NULL },
};
int i;
Expand Down

0 comments on commit 6bb0fb3

Please sign in to comment.