Fix typo in push service
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
a932e28ddd
commit
8fae6ad75a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class GitPushService
|
|||
project.update_repository_size
|
||||
|
||||
if push_to_branch?(ref)
|
||||
if push_remove_branch_branch?(ref, newrev)
|
||||
if push_remove_branch?(ref, newrev)
|
||||
@push_commits = []
|
||||
elsif push_to_new_branch?(ref, oldrev)
|
||||
# Re-find the pushed commits.
|
||||
|
|
Loading…
Reference in a new issue