summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gitlab_shell.rb1
-rw-r--r--spec/gitlab_shell_spec.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 59aaa89..39dabe9 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -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')
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb
index 0443576..f2c215e 100644
--- a/spec/gitlab_shell_spec.rb
+++ b/spec/gitlab_shell_spec.rb
@@ -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 } }