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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
72888f59
Commit
72888f59
authored
Jul 31, 2018
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update gitlab shell to remove git_protocol env var
parent
4304099c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
lib/gitlab_shell.rb
lib/gitlab_shell.rb
+0
-1
spec/gitlab_shell_spec.rb
spec/gitlab_shell_spec.rb
+0
-1
No files found.
lib/gitlab_shell.rb
View file @
72888f59
...
...
@@ -180,7 +180,6 @@ class GitlabShell # rubocop:disable Metrics/ClassLength
'GL_ID'
=>
@gl_id
,
'GL_PROTOCOL'
=>
GL_PROTOCOL
,
'GL_REPOSITORY'
=>
@gl_repository
,
'GIT_PROTOCOL'
=>
@git_protocol
,
'GL_USERNAME'
=>
@username
}
if
@gitaly
&&
@gitaly
.
include?
(
'token'
)
...
...
spec/gitlab_shell_spec.rb
View file @
72888f59
...
...
@@ -463,7 +463,6 @@ describe GitlabShell do
'GL_PROTOCOL'
=>
'ssh'
,
'GL_REPOSITORY'
=>
gl_repository
,
'GL_USERNAME'
=>
'testuser'
,
'GIT_PROTOCOL'
=>
'version=2'
}
end
let
(
:exec_options
)
{
{
unsetenv_others:
true
,
chdir:
ROOT_PATH
}
}
...
...
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