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:
authorJacob Vosmaer <jacob@gitlab.com>2019-11-26 17:25:03 +0300
committerJacob Vosmaer <jacob@gitlab.com>2019-11-26 17:25:03 +0300
commit0a445876ca2935f6ecbdab37dd55986f6018890a (patch)
tree57db5dfad2560fd2ba224be178388507f9eb8057 /internal/git
parent52fba27d9fdee4a9d2403eaee49f4005df6ba67d (diff)
Remove duplicate GITLAB_SHELL_DIR env var
Diffstat (limited to 'internal/git')
-rw-r--r--internal/git/receivepack.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/git/receivepack.go b/internal/git/receivepack.go
index 65d764573..5489ff9a5 100644
--- a/internal/git/receivepack.go
+++ b/internal/git/receivepack.go
@@ -3,7 +3,6 @@ package git
import (
"fmt"
- "gitlab.com/gitlab-org/gitaly/internal/config"
"gitlab.com/gitlab-org/gitaly/internal/git/hooks"
"gitlab.com/gitlab-org/gitaly/internal/gitlabshell"
)
@@ -23,7 +22,6 @@ func HookEnv(req ReceivePackRequest) []string {
fmt.Sprintf("GL_ID=%s", req.GetGlId()),
fmt.Sprintf("GL_USERNAME=%s", req.GetGlUsername()),
fmt.Sprintf("GL_REPOSITORY=%s", req.GetGlRepository()),
- fmt.Sprintf("GITLAB_SHELL_DIR=%s", config.Config.GitlabShell.Dir),
}, gitlabshell.Env()...)
}