From 1eb05ceabb8320edd4a09b7b0431fcc214a6ad7f Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Tue, 9 Jun 2020 19:56:25 -0700 Subject: [PATCH] shlib.sh: always run with `gc.autodetach=false` Girocco manages all garbage collection operations and they are always synchronous. However, if the unthinkable somehow happened and Girocco somehow actually induced Git into trying to perform garbage collection, bad things could happen if it ended up proceeding in the background. Much less likely to fail horribly if it remains in the foreground. Therefore always add `gc.autodetach=false` to the active config. Signed-off-by: Kyle J. McKay --- shlib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shlib.sh b/shlib.sh index 6dcd432..9e1e560 100644 --- a/shlib.sh +++ b/shlib.sh @@ -262,6 +262,7 @@ git_add_config "core.packedGitLimit=256m" [ -z "$var_big_file_threshold" ] || git_add_config "core.bigFileThreshold=$var_big_file_threshold" git_add_config "gc.auto=0" +git_add_config "gc.autodetach=false" # Make sure any sendmail.pl config is always available unset SENDMAIL_PL_HOST -- 2.11.4.GIT