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
b6349ec7
Commit
b6349ec7
authored
May 28, 2013
by
GitLab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bad regex
parent
240eb9e9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/gitlab_shell.rb
lib/gitlab_shell.rb
+3
-1
No files found.
lib/gitlab_shell.rb
View file @
b6349ec7
...
@@ -6,7 +6,9 @@ class GitlabShell
...
@@ -6,7 +6,9 @@ class GitlabShell
attr_accessor
:key_id
,
:repo_name
,
:git_cmd
,
:repos_path
,
:repo_name
attr_accessor
:key_id
,
:repo_name
,
:git_cmd
,
:repos_path
,
:repo_name
def
initialize
def
initialize
@key_id
=
/key-[0-9]/
.
match
(
ARGV
.
join
).
to_s
puts
"---"
puts
ARGV
@key_id
=
/key-[0-9]+/
.
match
(
ARGV
.
join
).
to_s
@origin_cmd
=
ENV
[
'SSH_ORIGINAL_COMMAND'
]
@origin_cmd
=
ENV
[
'SSH_ORIGINAL_COMMAND'
]
@repos_path
=
GitlabConfig
.
new
.
repos_path
@repos_path
=
GitlabConfig
.
new
.
repos_path
end
end
...
...
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