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:
authorChristian Couder <chriscool@tuxfamily.org>2020-11-24 14:12:51 +0300
committerChristian Couder <chriscool@tuxfamily.org>2020-11-24 14:12:51 +0300
commitbe21832d969c88c6ca1f8e3a2aa6ea74b91b954e (patch)
treec74975e19253d8e27c8739c5909a9025ccba99f6 /internal/gitaly/service/operations/merge.go
parent35fd0ae3c408d8246f3f58d9971e1f780e418506 (diff)
parente001791853bf8fdf3e9e4ca54935381a026db1a7 (diff)
Merge branch 'pks-hooks-validation' into 'master'
hooks: Improved validation and testing See merge request gitlab-org/gitaly!2824
Diffstat (limited to 'internal/gitaly/service/operations/merge.go')
-rw-r--r--internal/gitaly/service/operations/merge.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gitaly/service/operations/merge.go b/internal/gitaly/service/operations/merge.go
index e42fce7ec..0439f4ec9 100644
--- a/internal/gitaly/service/operations/merge.go
+++ b/internal/gitaly/service/operations/merge.go
@@ -117,7 +117,7 @@ func hookErrorFromStdoutAndStderr(sout string, serr string) string {
}
func (s *server) updateReferenceWithHooks(ctx context.Context, repo *gitalypb.Repository, user *gitalypb.User, reference, newrev, oldrev string) error {
- gitlabshellEnv, err := gitlabshell.Env()
+ gitlabshellEnv, err := gitlabshell.EnvFromConfig(s.cfg)
if err != nil {
return err
}