diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-10-26 14:31:01 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-11-06 14:54:10 +0300 |
commit | 411cc6e4c59e6f61181d456cec127c344f277a7f (patch) | |
tree | 00380d7b09b9cbb40ca845117bf76e0efc4408ee /lib/gitlab/git | |
parent | 9492f1c455c2e0ebfb4184e61365a3ed3669bbdc (diff) |
Merge branch 'gl-username-hook-fix' into 'master'
Fix the incorrect value being used to set GL_USERNAME on hooks
See merge request gitlab-org/gitlab-ce!15038
Diffstat (limited to 'lib/gitlab/git')
-rw-r--r-- | lib/gitlab/git/hooks_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/hooks_service.rb b/lib/gitlab/git/hooks_service.rb index c327e9b1616..f302b852b35 100644 --- a/lib/gitlab/git/hooks_service.rb +++ b/lib/gitlab/git/hooks_service.rb @@ -8,7 +8,7 @@ module Gitlab def execute(pusher, repository, oldrev, newrev, ref) @repository = repository @gl_id = pusher.gl_id - @gl_username = pusher.name + @gl_username = pusher.username @oldrev = oldrev @newrev = newrev @ref = ref |