summaryrefslogtreecommitdiff
path: root/lib/support
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-02 16:22:23 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-02 16:22:23 +0200
commit9211b541d3eaa60401f4ab6a5d264f9179ad4160 (patch)
tree5e41f1af0a7cdb82ccc8283c223379348989a816 /lib/support
parentbf39347970865bcd97e5370c7a754406498a2d65 (diff)
downloadgitlab-ce-9211b541d3eaa60401f4ab6a5d264f9179ad4160.tar.gz
Improve MR code reloading when push code
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>
Diffstat (limited to 'lib/support')
0 files changed, 0 insertions, 0 deletions