diff options
Diffstat (limited to 'ruby/lib/gitlab/git/operation_service.rb')
-rw-r--r-- | ruby/lib/gitlab/git/operation_service.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ruby/lib/gitlab/git/operation_service.rb b/ruby/lib/gitlab/git/operation_service.rb index 0ae429be0..b10ffeb44 100644 --- a/ruby/lib/gitlab/git/operation_service.rb +++ b/ruby/lib/gitlab/git/operation_service.rb @@ -56,11 +56,6 @@ module Gitlab end end - def update_branch(branch_name, newrev, oldrev, push_options: nil, transaction: nil) - ref = Gitlab::Git::BRANCH_REF_PREFIX + branch_name - update_ref_in_hooks(ref, newrev, oldrev, push_options: push_options, transaction: transaction) - end - # Yields the given block (which should return a commit) and # writes it to the ref while also executing hooks for it. # The ref is _always_ overwritten (nothing is taken from its |