Fix typo in push service

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-09-26 12:45:41 +03:00
parent a932e28ddd
commit 8fae6ad75a
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A

View file

@ -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.