gitlab-org--gitlab-foss/spec/lib/gitlab/diff
Sean McGivern 3c6a4d6363 Ensure MRs always use branch refs for comparison
If a merge request was created with a branch name that also matched a tag name,
we'd generate a comparison to or from the tag respectively, rather than the
branch. Merging would still use the branch, of course.

To avoid this, ensure that when we get the branch heads, we prepend the
reference prefix for branches, which will ensure that we generate the correct
comparison.
2017-11-28 17:01:38 +00:00
..
file_collection
formatters Commenting on image diffs 2017-10-07 04:25:17 +00:00
diff_refs_spec.rb
file_spec.rb Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
highlight_spec.rb
inline_diff_markdown_marker_spec.rb
inline_diff_marker_spec.rb
inline_diff_spec.rb
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