Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/git/gittest/protocol.go')
-rw-r--r--internal/git/gittest/protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/gittest/protocol.go b/internal/git/gittest/protocol.go
index fb5c61d23..bf45c3f64 100644
--- a/internal/git/gittest/protocol.go
+++ b/internal/git/gittest/protocol.go
@@ -23,7 +23,7 @@ func EnableGitProtocolV2Support(t testing.TB, cfg config.Cfg) (func() string, co
script := fmt.Sprintf(`#!/bin/sh
env | grep ^GIT_PROTOCOL= >>"%s"
exec "%s" "$@"
-`, envPath, config.Config.Git.BinPath)
+`, envPath, cfg.Git.BinPath)
cleanupExe := testhelper.WriteExecutable(t, gitPath, []byte(script))