Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Bajao <ebajao@gitlab.com>2019-04-12 02:49:53 +0300
committerPatrick Bajao <ebajao@gitlab.com>2019-04-11 10:49:53 +0300
commit171818df0a72097aa1a804c8213666b3f66b0966 (patch)
treeba412628c7f5a23fe31622f0e22af01bc9288855 /app/models/repository.rb
parenta4262919f76d7d2f82754753dc03b6d2bf310905 (diff)
Revert "Merge branch '24704-download-repository-path' into 'master'"
This reverts commit 6c75bd015cba181f028bc87c396c3d8e43b5dc3e, reversing changes made to 1be7f5aaa38aba79843eae8835be6c99c025e982.
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r--app/models/repository.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb
index 51ab2247a03..574ce12b309 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -299,14 +299,13 @@ class Repository
end
end
- def archive_metadata(ref, storage_path, format = "tar.gz", append_sha:, path: nil)
+ def archive_metadata(ref, storage_path, format = "tar.gz", append_sha:)
raw_repository.archive_metadata(
ref,
storage_path,
project.path,
format,
- append_sha: append_sha,
- path: path
+ append_sha: append_sha
)
end