-
Notifications
You must be signed in to change notification settings - Fork 449
Add GC controls, e2e regexes (v3 branch) #495
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
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 |
stp-ip
left a comment
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
|
[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 |
|
Might wanna update the Readme with the latest gc arg. |
Looking for feedback, re: #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.autoDetachto "false"Add
--git-gcflag to control GC on each syncValues:
git gc --auto(default, respects git gc.* configs)git gcgit gc --aggressive(may require a longer timeout)git gcon each sync (good for --one-time use)Also makes e2e test treat args as regexes.