gitlab-org--gitlab-foss/spec/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 Only cache highlight results for latest MR diffs 2018-03-15 11:49:53 +00:00
formatters Commenting on image diffs 2017-10-07 04:25:17 +00:00
diff_refs_spec.rb Add specs 2017-09-25 16:56:14 +02:00
file_spec.rb Adjust insufficient diff hunks being persisted on NoteDiffFile 2018-06-05 01:02:30 -03:00
highlight_spec.rb Method to track recoverable exceptions in sentry 2018-04-17 11:39:23 +02:00
inline_diff_markdown_marker_spec.rb
inline_diff_marker_spec.rb
inline_diff_spec.rb fix #39233 - 500 in merge request 2017-12-07 20:19:37 +01:00
line_mapper_spec.rb
parallel_diff_spec.rb
parser_spec.rb Fix diff parser so it tolerates to diff special markers in the content 2017-10-15 17:00:36 +03:00
position_spec.rb Fix 500 error for old (somewhat) MRs 2017-10-30 12:30:31 +00:00
position_tracer_spec.rb Ensure MRs always use branch refs for comparison 2017-11-28 17:01:38 +00:00