From b15f8740f185d8c4e63c9141ef06546cd8da1794 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Mon, 11 Mar 2024 16:34:51 -0400 Subject: [PATCH] fix(mirror): don't need git gc Fixes: 920e4a75d11d (fix: use lipgloss renderers) --- pkg/jobs/mirror.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/jobs/mirror.go b/pkg/jobs/mirror.go index 6c7f2e756..16ea92341 100644 --- a/pkg/jobs/mirror.go +++ b/pkg/jobs/mirror.go @@ -65,9 +65,8 @@ func (m mirrorPull) Func(ctx context.Context) func() { repo := repo cmds := []string{ - "fetch --prune", // fetch prune before updating remote - "gc --aggressive --prune=now", // aggressive garbage collection - "remote update --prune", // update remote and prune remote refs + "fetch --prune", // fetch prune before updating remote + "remote update --prune", // update remote and prune remote refs } for _, c := range cmds {