aboutsummaryrefslogtreecommitdiff
path: root/internal/format/packrev
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-12 15:47:34 +0000
committerGravatar Runxi Yu2026-06-12 15:47:34 +0000
commit763bb73a3fb2a537531d114256b49706b0d38d0f (patch)
tree212bbeac7676003354109d72d942a44d72a86b28 /internal/format/packrev
parentinternal/testgit: Enrich PackObjects (diff)
internal/format/pack{idx,rev}, object/store/packed: Update PackObjects invocation
Diffstat (limited to 'internal/format/packrev')
-rw-r--r--internal/format/packrev/helpers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/format/packrev/helpers_test.go b/internal/format/packrev/helpers_test.go
index 2ec2f434..2d781669 100644
--- a/internal/format/packrev/helpers_test.go
+++ b/internal/format/packrev/helpers_test.go
@@ -28,7 +28,7 @@ func makeGitPack(t *testing.T, objectFormat id.ObjectFormat) string {
t.Fatalf("SeedHistory: %v", err)
}
- prefix, err := repo.PackObjects(t, slices.Values(seeded.All()), testgit.PackObjectsOptions{RevIndex: true})
+ prefix, err := repo.PackObjects(t, seeded.All(), testgit.PackObjectsOptions{RevIndex: true})
if err != nil {
t.Fatalf("PackObjects: %v", err)
}