diff options
| author | 2026-03-04 08:26:56 +0800 | |
|---|---|---|
| committer | 2026-03-04 08:59:53 +0800 | |
| commit | ab7501be34032fb9e5c48726a68ae90a917af9eb (patch) | |
| tree | 20d005647569befea8133e953c3270e8fd2a2a5b /internal/testgit/repo_repack.go | |
| parent | *: gofumpt (diff) | |
| signature | No signature | |
*: Lint
Diffstat (limited to 'internal/testgit/repo_repack.go')
| -rw-r--r-- | internal/testgit/repo_repack.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/testgit/repo_repack.go b/internal/testgit/repo_repack.go index 29fa8a4f..7773ac13 100644 --- a/internal/testgit/repo_repack.go +++ b/internal/testgit/repo_repack.go @@ -5,6 +5,7 @@ import "testing" // Repack runs "git repack" with args in the repository. func (testRepo *TestRepo) Repack(tb testing.TB, args ...string) { tb.Helper() + cmdArgs := make([]string, 0, len(args)+1) cmdArgs = append(cmdArgs, "repack") cmdArgs = append(cmdArgs, args...) |
