Commit 8fae6ad7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix typo in push service

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a932e28d
...@@ -22,7 +22,7 @@ class GitPushService ...@@ -22,7 +22,7 @@ class GitPushService
project.update_repository_size project.update_repository_size
if push_to_branch?(ref) if push_to_branch?(ref)
if push_remove_branch_branch?(ref, newrev) if push_remove_branch?(ref, newrev)
@push_commits = [] @push_commits = []
elsif push_to_new_branch?(ref, oldrev) elsif push_to_new_branch?(ref, oldrev)
# Re-find the pushed commits. # Re-find the pushed commits.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment