-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GC controls, e2e regexes (v4 branch) #496
Conversation
In particular, this sets `gc.autoDetach` to "false".
Values: * "auto" - run `git gc --auto` (default, respects git gc.* configs) * "always" - run `git gc` * "aggressive" - run `git gc --aggressive` (may require a longer timeout) * "off" - do not run `git gc` on each sync (good for --one-time use)
OK, I think this is ready for review. |
ping on this if anyone cares |
On my radar ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Readme out of sync on this one as well.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stp-ip, thockin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #439.
This does not solve the timeout problem, and it does not do ideal repo-packing, but that is bigger and will have to come in v4 only.
Set gc.autoDetach to "false"
Add --git-gc flag to control GC on each sync
Values:
"auto" - run git gc --auto (default, respects git gc.* configs)
"always" - run git gc
"aggressive" - run git gc --aggressive (may require a longer timeout)
"off" - do not run git gc on each sync (good for --one-time use)
Also makes e2e test treat args as regexes.