summaryrefslogtreecommitdiff
path: root/lib/gitlab_shell.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-04 16:18:52 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-04 16:18:52 +0200
commitd554bd90bdd5b74b46f0e6893ce415d2530672a1 (patch)
tree995a3a0a59e41517fa4b6134cd2491eaf98e04cb /lib/gitlab_shell.rb
parentc2bf1061c2b5c739f4ced047e7cda4ce2a4929df (diff)
downloadgitlab-shell-d554bd90bdd5b74b46f0e6893ce415d2530672a1.tar.gz
set GL_USER
Diffstat (limited to 'lib/gitlab_shell.rb')
-rw-r--r--lib/gitlab_shell.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 32ee2ac..a83d16a 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -15,6 +15,8 @@ class GitlabShell
parse_cmd
if git_cmds.include?(@git_cmd)
+ ENV['GL_USER'] = @username
+
process_cmd
else
puts 'Not allowed command'