diff --git a/knotmirror/git.go b/knotmirror/git.go --- a/knotmirror/git.go +++ b/knotmirror/git.go @@ -79,7 +79,7 @@ return classification } return fmt.Errorf("running 'git clone --mirror %s': %w\n%s", url, err, msg) } - writeCommitGraph(ctx, path, 30 * time.Second) + writeCommitGraph(ctx, path, 30*time.Second) return nil } @@ -132,7 +132,7 @@ return fmt.Errorf("running 'git symbolic-ref HEAD %s': %w\n%s", headRef, err, string(out)) } } - writeCommitGraph(ctx, path, 3 * time.Second) + writeCommitGraph(ctx, path, 3*time.Second) return nil }