From 9f798d4d54a90729b0da62f568ea8a53cfa4969a Mon Sep 17 00:00:00 2001 From: nico wellpott Date: Tue, 8 Jun 2021 13:40:44 +0200 Subject: [PATCH] reduce ressource consumption * git gc --auto should be enough for the rebase Do not waste ressources on doing a complete aggressive garbage collection run Additionally git gc gets run by svn2git internally too --- svnmigrate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/svnmigrate.sh b/svnmigrate.sh index 53786cf..5349d65 100644 --- a/svnmigrate.sh +++ b/svnmigrate.sh @@ -14,8 +14,8 @@ function migrate() { } function clean() { - # clean up git tree thoroughly - /usr/bin/git gc --aggressive + # clean up git tree + /usr/bin/git gc --auto } function push() {