gitlab-org--gitlab-foss/lib/gitlab/diff
Oswaldo Ferreira f46739191a Adjust insufficient diff hunks being persisted on NoteDiffFile
This currently causes 500's errors when loading the MR page
(Discussion) in a few scenarios.

We were not considering detailed diff headers such as
"--- a/doc/update/mysql_to_postgresql.md\n+++ b/doc/update/mysql_to_postgresql.md"
to crop the diff. In order to address it, we're now using
Gitlab::Diff::Parser, clean the diffs and builds Gitlab::Diff::Line objects
we can iterate and filter on.
2018-06-05 01:02:30 -03:00
..
file_collection Use persisted diff data instead fetching Git on discussions 2018-04-30 20:07:21 -03:00
formatters
diff_refs.rb Avoid re-fetching merge-base SHA from Gitaly unnecessarily 2018-03-07 22:46:29 -03:00
file.rb Adjust insufficient diff hunks being persisted on NoteDiffFile 2018-06-05 01:02:30 -03:00
highlight.rb Method to track recoverable exceptions in sentry 2018-04-17 11:39:23 +02:00
image_point.rb
inline_diff.rb fix #39233 - 500 in merge request 2017-12-07 20:19:37 +01:00
inline_diff_markdown_marker.rb
inline_diff_marker.rb Merge branch '42028-xss-diffs-10-6' into 'security-10-6' 2018-04-05 08:40:05 +02:00
line.rb Adjust insufficient diff hunks being persisted on NoteDiffFile 2018-06-05 01:02:30 -03:00
line_mapper.rb
parallel_diff.rb
parser.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
position.rb Merge request and commit discussions API 2018-05-01 12:39:44 +00:00
position_tracer.rb