diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2019-04-12 02:49:53 +0300 |
---|---|---|
committer | Patrick Bajao <ebajao@gitlab.com> | 2019-04-11 10:49:53 +0300 |
commit | 171818df0a72097aa1a804c8213666b3f66b0966 (patch) | |
tree | ba412628c7f5a23fe31622f0e22af01bc9288855 /app/controllers/projects | |
parent | a4262919f76d7d2f82754753dc03b6d2bf310905 (diff) |
Revert "Merge branch '24704-download-repository-path' into 'master'"
This reverts commit 6c75bd015cba181f028bc87c396c3d8e43b5dc3e, reversing
changes made to 1be7f5aaa38aba79843eae8835be6c99c025e982.
Diffstat (limited to 'app/controllers/projects')
-rw-r--r-- | app/controllers/projects/repositories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/repositories_controller.rb b/app/controllers/projects/repositories_controller.rb index 3b4215b766e..4eeaeb860ee 100644 --- a/app/controllers/projects/repositories_controller.rb +++ b/app/controllers/projects/repositories_controller.rb @@ -23,7 +23,7 @@ class Projects::RepositoriesController < Projects::ApplicationController append_sha = false if @filename == shortname end - send_git_archive @repository, ref: @ref, path: params[:path], format: params[:format], append_sha: append_sha + send_git_archive @repository, ref: @ref, format: params[:format], append_sha: append_sha rescue => ex logger.error("#{self.class.name}: #{ex}") git_not_found! |