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:
authorJohn Cai <jcai@gitlab.com>2019-06-20 18:18:41 +0300
committerJohn Cai <jcai@gitlab.com>2019-10-01 18:50:10 +0300
commitb676876889ce332b26efb93ddd8d5d9649da2776 (patch)
tree1a9b6bfdc6866c5bf6d5f4c51262f99a8907706f /internal/git
parent2ccd180cdcda5dd41bd085f0a3ea65ad8c4240df (diff)
Migrate hooks to use go binary
Diffstat (limited to 'internal/git')
-rw-r--r--internal/git/receivepack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/receivepack.go b/internal/git/receivepack.go
index c9670612f..f4dbdba8c 100644
--- a/internal/git/receivepack.go
+++ b/internal/git/receivepack.go
@@ -22,8 +22,8 @@ func HookEnv(req ReceivePackRequest) []string {
return append([]string{
fmt.Sprintf("GL_ID=%s", req.GetGlId()),
fmt.Sprintf("GL_USERNAME=%s", req.GetGlUsername()),
- fmt.Sprintf("GITLAB_SHELL_DIR=%s", config.Config.GitlabShell.Dir),
fmt.Sprintf("GL_REPOSITORY=%s", req.GetGlRepository()),
+ fmt.Sprintf("GITLAB_SHELL_DIR=%s", config.Config.GitlabShell.Dir),
}, gitlabshell.Env()...)
}