You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
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
The text was updated successfully, but these errors were encountered: