diff options
author | John Cai <jcai@gitlab.com> | 2019-12-02 21:52:34 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-12-02 21:52:34 +0300 |
commit | a7069266c73b4dba35f30a04d1dfd409681a55cc (patch) | |
tree | 2e3690435d57fcc502d8179390dbd8da51ac4644 | |
parent | 5fae4483a6a832ce558c43f7d1867cd7062c7065 (diff) | |
parent | 0a445876ca2935f6ecbdab37dd55986f6018890a (diff) |
Merge branch 'jv-remove-duplicate-env-var' into 'master'
Remove duplicate GITLAB_SHELL_DIR env var
See merge request gitlab-org/gitaly!1656
-rw-r--r-- | internal/git/receivepack.go | 2 |
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()...) } |