Skip to content
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

Possibly disable gc during actions #37

Open
joshmoore opened this issue Dec 20, 2012 · 1 comment
Open

Possibly disable gc during actions #37

joshmoore opened this issue Dec 20, 2012 · 1 comment
Labels
enhancement New feature or request

Comments

@joshmoore
Copy link
Member

Since some of the commands run by scc are quite complicated, having git gc run in the middle can be disconcerting. We could temporarily disable it in .git/config as long as it gets re-enabled after each execution. Perhaps there's an environment variable that we could set instead.

Suggested by: @jburel

@sbesson
Copy link
Member

sbesson commented Jan 3, 2013

Automatic git gc can be disabled with the following command:

git config gc.auto 0

Ideally, this PR should combine this command with the self.cd(self.path) operations within a decorator of the GitRepository class and restore the default value of the gc.auto flag (which should be saved).

@sbesson sbesson added the enhancement New feature or request label Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants