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:
authorAhmad Sherif <me@ahmadsherif.com>2018-01-18 20:33:35 +0300
committerAhmad Sherif <me@ahmadsherif.com>2018-01-24 14:10:31 +0300
commit24625323a826d70991fdf27fbbe1f39bee845c03 (patch)
tree8c7b3e7c949638ae1be4d655345f798e2d9bea9e /lib/gitlab/import_export/repo_saver.rb
parente2a56af930f9f7d17a6a9b638f52007a60e4cc60 (diff)
Migrate repository bundling to Gitaly
Closes gitaly#929
Diffstat (limited to 'lib/gitlab/import_export/repo_saver.rb')
-rw-r--r--lib/gitlab/import_export/repo_saver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/repo_saver.rb b/lib/gitlab/import_export/repo_saver.rb
index a7028a32570..695462c7dd2 100644
--- a/lib/gitlab/import_export/repo_saver.rb
+++ b/lib/gitlab/import_export/repo_saver.rb
@@ -21,7 +21,7 @@ module Gitlab
def bundle_to_disk
mkdir_p(@shared.export_path)
- git_bundle(repo_path: path_to_repo, bundle_path: @full_path)
+ @project.repository.bundle_to_disk(@full_path)
rescue => e
@shared.error(e)
false