Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-shell
Commits
d554bd90
Commit
d554bd90
authored
Feb 04, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set GL_USER
parent
c2bf1061
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
hooks/post-receive
hooks/post-receive
+0
-0
lib/gitlab_shell.rb
lib/gitlab_shell.rb
+2
-0
No files found.
hooks/post-receive
100644 → 100755
View file @
d554bd90
File mode changed from 100644 to 100755
lib/gitlab_shell.rb
View file @
d554bd90
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment