summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2017-02-09 12:29:56 +0000
committerSean McGivern <sean@gitlab.com>2017-02-23 12:03:08 +0000
commit5a2c68811712aecdece01ed203cda2ae2bb32ca9 (patch)
treeddcb5362d8782098cdf76beb1bc8cb4176514565 /changelogs
parent8cc61d0b2a3507609665c3c5d3e8a475772c6b87 (diff)
downloadgitlab-ce-5a2c68811712aecdece01ed203cda2ae2bb32ca9.tar.gz
Fix MR changes tab size countfix-mr-size-with-over-100-files
This was wrong when there were over 100 files in the diff, because we did not use the same diff options as subclasses of `Gitlab::Diff::FileCollection::Base` when getting the raw diffs. (The reason we don't use those classes directly is because they may perform highlighting, which isn't needed for just counting the diffs.)
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/fix-mr-size-with-over-100-files.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/fix-mr-size-with-over-100-files.yml b/changelogs/unreleased/fix-mr-size-with-over-100-files.yml
new file mode 100644
index 00000000000..eecf3c99a75
--- /dev/null
+++ b/changelogs/unreleased/fix-mr-size-with-over-100-files.yml
@@ -0,0 +1,4 @@
+---
+title: Fix MR changes tab size count when there are over 100 files in the diff
+merge_request:
+author: