Read about our upcoming Code of Conduct on this issue

  • Dmitriy Zaporozhets's avatar
    Fix MR commenting system when new commits pushed · 69b74fbfd5e5
    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`
    69b74fbfd5e5
project.rb 18.1 KB