diff options
Diffstat (limited to 'internal/git/gittest/objects.go')
-rw-r--r-- | internal/git/gittest/objects.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/git/gittest/objects.go b/internal/git/gittest/objects.go index 7540b83f7..29baf2127 100644 --- a/internal/git/gittest/objects.go +++ b/internal/git/gittest/objects.go @@ -65,6 +65,11 @@ func getGitDirSize(tb testing.TB, repoPath string, subdirs ...string) int64 { return blocks } +// TODO: We can get rid of these functions once there are +// localrepo.MustWriteCommit and localrepo.MustWriteTree, at which point we can +// move TestDeltaIslands into the localrepo package, and get rid of WriteTree. +// After this we can delete WriteBlobs and WriteBlob. + // WriteBlobs writes n distinct blobs into the git repository's object // database. Each object has the current time in nanoseconds as contents. func WriteBlobs(tb testing.TB, cfg config.Cfg, testRepoPath string, n int) []string { |