• Dmitriy Zaporozhets's avatar
    Fix MR commenting system when new commits pushed · 8ccae3c3
    Dmitriy Zaporozhets authored
    This conmmit fixes wierd behaviour when you see wrong comments about new
    commits in merge requests.
    
    Short explanation of a bug:
    When you push new commits to project we updated `project.merge_requests`
    with comment about push. But `project.merge_requests` includes also
    merge requests from forks to origin project. So when you push to master
    branch it commented on all merge requests from forks to origin where
    source_branch was `master`
    8ccae3c3
project_spec.rb 12.3 KB