From 37f86979eefddb653e90b6af700b976dd3463417 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 7 Jun 2026 09:35:38 +0000 Subject: internal/testgit: Unexport Run and Command --- internal/testgit/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/testgit/config.go') diff --git a/internal/testgit/config.go b/internal/testgit/config.go index 2bbadb74..6ac62b4d 100644 --- a/internal/testgit/config.go +++ b/internal/testgit/config.go @@ -5,13 +5,13 @@ import "testing" func (repo *Repo) ConfigGet(tb testing.TB, key string) (string, error) { tb.Helper() - return String(repo.Run(tb, nil, "git", "config", "--get", "--end-of-options", key)) + return String(repo.run(tb, nil, "git", "config", "--get", "--end-of-options", key)) } func (repo *Repo) ConfigSet(tb testing.TB, key, value string) error { tb.Helper() - _, err := repo.Run(tb, nil, "git", "config", "--end-of-options", key, value) + _, err := repo.run(tb, nil, "git", "config", "--end-of-options", key, value) return err } @@ -19,7 +19,7 @@ func (repo *Repo) ConfigSet(tb testing.TB, key, value string) error { func (repo *Repo) ConfigAdd(tb testing.TB, key, value string) error { tb.Helper() - _, err := repo.Run(tb, nil, "git", "config", "--add", "--end-of-options", key, value) + _, err := repo.run(tb, nil, "git", "config", "--add", "--end-of-options", key, value) return err } -- cgit v1.3.1-10-gc9f91