Skip to content

Commit

Permalink
fix(mirror): don't need git gc
Browse files Browse the repository at this point in the history
Fixes: 920e4a7 (fix: use lipgloss renderers)
  • Loading branch information
aymanbagabas committed Mar 11, 2024
1 parent abd5580 commit b15f874
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/jobs/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b15f874

Please sign in to comment.