Commit 9c61b73c authored by Douwe Maan's avatar Douwe Maan

Make sure MR refresh service correctly determines newly added commits.

parent d25b50fd
......@@ -8,6 +8,8 @@ module MergeRequests
@fork_merge_requests = @project.fork_merge_requests.opened
@commits = []
reload_merge_requests
# Leave a system note if a branch were deleted/added
if Gitlab::Git.blank_ref?(oldrev) || Gitlab::Git.blank_ref?(newrev)
comment_mr_branch_presence_changed
......@@ -18,7 +20,6 @@ module MergeRequests
close_merge_requests
end
reload_merge_requests
execute_mr_web_hooks
true
......
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