diff options
| author | 2026-02-21 12:31:51 +0800 | |
|---|---|---|
| committer | 2026-02-21 12:31:51 +0800 | |
| commit | 2852f9a20613b145fe36a8fde5bfd31ff7e82291 (patch) | |
| tree | 2df08e4a3f21e0db0f0eacf026bf392d3ba760f7 /objectstore/packed/helpers_test.go | |
| parent | testgit: Remove old new-repo helpers and use NewRepo with good RepoOptions (diff) | |
| signature | No signature | |
*: Use testgit.NewRepo
Diffstat (limited to 'objectstore/packed/helpers_test.go')
| -rw-r--r-- | objectstore/packed/helpers_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/objectstore/packed/helpers_test.go b/objectstore/packed/helpers_test.go index 5af44f66..f8cbd439 100644 --- a/objectstore/packed/helpers_test.go +++ b/objectstore/packed/helpers_test.go @@ -68,7 +68,7 @@ func expectedRawObject(t *testing.T, testRepo *testgit.TestRepo, id objectid.Obj func createPackedFixtureRepo(t *testing.T, algo objectid.Algorithm) (*testgit.TestRepo, []objectid.ObjectID) { t.Helper() - testRepo := testgit.NewBareRepo(t, algo) + testRepo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: true}) blobID, treeID, commitID := testRepo.MakeCommit(t, "packed store base commit") testRepo.Run(t, "update-ref", "refs/heads/main", commitID.String()) tagID := testRepo.TagAnnotated(t, "v1.0.0", commitID, "packed-store-tag") |
