From 8918ce503af78c174c4c4fc14b711e769989f000 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 24 May 2026 10:59:52 +0000 Subject: internal/testgit: Add Algorithm method --- internal/testgit/repo.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/testgit') 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, -- cgit v1.3.1-10-gc9f91