9211b541d3
Every time you pushed to master it updates merge requests that has master as target branch. So if you have 50 open merge requests point to master it will reload all of them every time you push a single commit to master. The funny thing is that after reloading diff of most merge requests looks the same. After this patch we update diff only if we push commit to master that includes in MR commits list. For example we have next repository: feature: A - B - C master: A We create merge requests #1 with code from feature to master. MR #1: B - C If we push to master commit D - MR will not be reloaded. So picture will look next: feature: A - B - C master: A - D MR #1: B - C And if we push to master commit B - MR will be reloaded. So picture will look next: feature: A - B - C master: A - B MR #1: C Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> |
||
---|---|---|
.. | ||
files | ||
issues | ||
merge_requests | ||
milestones | ||
notes | ||
projects | ||
search | ||
archive_repository_service.rb | ||
base_service.rb | ||
compare_service.rb | ||
create_branch_service.rb | ||
create_tag_service.rb | ||
delete_branch_service.rb | ||
event_create_service.rb | ||
git_push_service.rb | ||
git_tag_push_service.rb | ||
gravatar_service.rb | ||
issuable_base_service.rb | ||
notification_service.rb | ||
system_hooks_service.rb | ||
test_hook_service.rb |