aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testgit/repo.go')
-rw-r--r--internal/testgit/repo.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/testgit/repo.go b/internal/testgit/repo.go
index f18f199c..fcb6ae90 100644
--- a/internal/testgit/repo.go
+++ b/internal/testgit/repo.go
@@ -14,6 +14,10 @@ type Repo struct {
env []string
}
+func (repo *Repo) Algorithm() id.Algorithm {
+ return repo.algo
+}
+
func (repo *Repo) Command(
tb testing.TB,
command string,