aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/show.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-06-07 09:35:38 +0000
committerGravatar Runxi Yu2026-06-07 09:35:38 +0000
commit37f86979eefddb653e90b6af700b976dd3463417 (patch)
treeb01b30f04ace10eb198284094ece535e18ef74f4 /internal/testgit/show.go
parentREFACTOR: object/commit is done (diff)
signatureNo signature
internal/testgit: Unexport Run and Command
Diffstat (limited to 'internal/testgit/show.go')
-rw-r--r--internal/testgit/show.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testgit/show.go b/internal/testgit/show.go
index 93ecac2c..486b56d5 100644
--- a/internal/testgit/show.go
+++ b/internal/testgit/show.go
@@ -11,7 +11,7 @@ import (
func (repo *Repo) ShowFormat(tb testing.TB, oid id.ObjectID, format string) ([]byte, error) {
tb.Helper()
- stdout, err := repo.Run(tb, nil, "git", "show", "--no-patch", "--no-color", "--format="+format, "--end-of-options", oid.String())
+ stdout, err := repo.run(tb, nil, "git", "show", "--no-patch", "--no-color", "--format="+format, "--end-of-options", oid.String())
if err != nil {
return nil, fmt.Errorf("show --format=%q %s: %w", format, oid, err)
}