b15f8740f185d8c4e63c9141ef06546cd8da1794

Author
Ayman Bagabas <ayman.bagabas@gmail.com>
Committer
Ayman Bagabas <ayman.bagabas@gmail.com>
Date

Message

fix(mirror): don't need git gc

Fixes: 920e4a75d11d (fix: use lipgloss renderers)

Diff

 1diff --git a/pkg/jobs/mirror.go b/pkg/jobs/mirror.go
 2index 6c7f2e756eb442df58d6bc6797f66d23e5f44197..16ea923418ea49d4a24bf7892257d8a93688e3a6 100644
 3--- a/pkg/jobs/mirror.go
 4+++ b/pkg/jobs/mirror.go
 5@@ -65,9 +65,8 @@ func (m mirrorPull) Func(ctx context.Context) func() {
 6 					repo := repo
 7 
 8 					cmds := []string{
 9-						"fetch --prune",               // fetch prune before updating remote
10-						"gc --aggressive --prune=now", // aggressive garbage collection
11-						"remote update --prune",       // update remote and prune remote refs
12+						"fetch --prune",         // fetch prune before updating remote
13+						"remote update --prune", // update remote and prune remote refs
14 					}
15 
16 					for _, c := range cmds {