diff options
| author | 2026-06-07 09:35:38 +0000 | |
|---|---|---|
| committer | 2026-06-07 09:35:38 +0000 | |
| commit | 37f86979eefddb653e90b6af700b976dd3463417 (patch) | |
| tree | b01b30f04ace10eb198284094ece535e18ef74f4 /internal/testgit/config.go | |
| parent | REFACTOR: object/commit is done (diff) | |
internal/testgit: Unexport Run and Command
Diffstat (limited to 'internal/testgit/config.go')
| -rw-r--r-- | internal/testgit/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 } |
