gitlab-ce/lib/gitlab/diff
Mark Chao 39ae9a59a5 Make Highlight accept language param
This replaces the repository param.
This allows more flexiblity as sometimes we have highlight content
not related to repository. Sometimes we know ahead of time the language
of the content. Lastly language determination seems better fit as a
logic in the Blob class.
`repository` param is only used to determine the language, which seems
to be the responsiblity of Blob.
2018-10-30 15:44:55 +08:00
..
file_collection Use standalone diff stats RPC on every comparison view 2018-09-19 12:26:28 +00:00
formatters Commenting on image diffs 2017-10-07 04:25:17 +00:00
diff_refs.rb Avoid re-fetching merge-base SHA from Gitaly unnecessarily 2018-03-07 22:46:29 -03:00
file.rb Use standalone diff stats RPC on every comparison view 2018-09-19 12:26:28 +00:00
highlight.rb Make Highlight accept language param 2018-10-30 15:44:55 +08:00
highlight_cache.rb Cache diff highlighting upon Merge Request creation (refactors diff caching) 2018-09-07 10:07:18 -03:00
image_point.rb Resolve Naming/UncommunicativeMethod 2018-07-09 21:13:08 +08:00
inline_diff.rb Disable existing offenses for the CodeReuse cops 2018-09-11 17:32:00 +02:00
inline_diff_markdown_marker.rb Extract generic parts of Gitlab::Diff::InlineDiffMarker 2017-05-10 08:26:21 -05:00
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 Use a serializer to render diff lines 2018-08-31 15:32:48 -03:00
line_mapper.rb Whitelist or fix additional `Gitlab/PublicSend` cop violations 2017-08-14 12:14:11 -04:00
parallel_diff.rb Don't display comment on unchanged line on both sides in parallel diff 2017-06-19 11:50:46 -05:00
parser.rb Changes tab VUE refactoring 2018-06-21 12:22:40 +00:00
position.rb Fix MR discussion not loaded issue 2018-10-01 22:37:43 +08:00
position_tracer.rb Fix Diff::Position#diff_file for positions on straight diffs 2017-06-06 14:48:05 -05:00