diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2018-01-22 18:46:02 +0300 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2018-01-24 21:02:32 +0300 |
commit | 6a28967c1461a840926940beb075e4f9285c7e82 (patch) | |
tree | bc857c77ce914db1e6be131f7023e017249bff8a /app/models/repository.rb | |
parent | a403011e4f7adae339a3a8584e22a75f4872c3c5 (diff) |
Migrate restoring repo from bundle to Gitaly
Closes gitaly#946
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 824e18bec78..253249ada49 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -20,7 +20,7 @@ class Repository attr_accessor :full_path, :disk_path, :project, :is_wiki delegate :ref_name_for_sha, to: :raw_repository - delegate :bundle_to_disk, to: :raw_repository + delegate :bundle_to_disk, :create_from_bundle, to: :raw_repository CreateTreeError = Class.new(StandardError) |