diff options
Diffstat (limited to 'internal/git2go')
-rw-r--r-- | internal/git2go/apply_test.go | 2 | ||||
-rw-r--r-- | internal/git2go/commit_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/git2go/apply_test.go b/internal/git2go/apply_test.go index fe12d603d..07680ee0e 100644 --- a/internal/git2go/apply_test.go +++ b/internal/git2go/apply_test.go @@ -17,7 +17,7 @@ func TestExecutor_Apply(t *testing.T) { pbRepo, repoPath, clean := testhelper.InitBareRepo(t) defer clean() - repo := git.NewRepository(pbRepo) + repo := git.NewRepository(pbRepo, config.Config) executor := New(filepath.Join(config.Config.BinDir, "gitaly-git2go"), config.Config.Git.BinPath) ctx, cancel := testhelper.Context() diff --git a/internal/git2go/commit_test.go b/internal/git2go/commit_test.go index 215cc59da..8dd3dd3a2 100644 --- a/internal/git2go/commit_test.go +++ b/internal/git2go/commit_test.go @@ -55,7 +55,7 @@ func TestExecutor_Commit(t *testing.T) { pbRepo, repoPath, clean := testhelper.InitBareRepo(t) defer clean() - repo := git.NewRepository(pbRepo) + repo := git.NewRepository(pbRepo, config.Config) originalFile, err := repo.WriteBlob(ctx, "file", bytes.NewBufferString("original")) require.NoError(t, err) |