diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-09-21 19:58:45 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2018-09-21 20:29:59 +0300 |
commit | 951144536a7e87f66564eb8e85e7aa3dc1b1e748 (patch) | |
tree | ed966230b60090218a70cbd8b2a4070782c38cc8 /app/models/repository.rb | |
parent | 8f191590447d8e8aa375f1c1104540db5473ce51 (diff) |
Doesn't synchronize default branch for push mirrors
We should not synchronize the source repository with
the target root ref while updating a push mirror.
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index ad65881ff43..12fbf7d5d1d 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -24,7 +24,6 @@ class Repository delegate :ref_name_for_sha, to: :raw_repository delegate :bundle_to_disk, to: :raw_repository - delegate :find_remote_root_ref, to: :raw_repository CreateTreeError = Class.new(StandardError) |