diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-03-28 09:21:32 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-03-28 09:21:32 +0000 |
commit | c43e18fc495f66c4a96c9a72bdda72392fb0ea32 (patch) | |
tree | 6a15efa5bb9280c76e322f9be3e8661227f58c7a /lib/gitlab/workhorse.rb | |
parent | 066d2e0a9cc7f6bcd56115c031168b775a2374fd (diff) | |
download | gitlab-ce-c43e18fc495f66c4a96c9a72bdda72392fb0ea32.tar.gz |
Remove some easy cases of 'path_to_repo' use
Diffstat (limited to 'lib/gitlab/workhorse.rb')
-rw-r--r-- | lib/gitlab/workhorse.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb index 1887f0dc2b3..14f58087780 100644 --- a/lib/gitlab/workhorse.rb +++ b/lib/gitlab/workhorse.rb @@ -21,12 +21,10 @@ module Gitlab raise "Unsupported action: #{action}" unless ALLOWED_GIT_HTTP_ACTIONS.include?(action.to_s) project = repository.project - repo_path = repository.path_to_repo params = { GL_ID: Gitlab::GlId.gl_id(user), GL_REPOSITORY: Gitlab::GlRepository.gl_repository(project, is_wiki), GL_USERNAME: user&.username, - RepoPath: repo_path, ShowAllRefs: show_all_refs } server = { |