bd1b8ae9bb
Do not look up commit again when it is passed to RelativeLinkFilter ## What does this MR do? Use `context[:commit]` in RelativeLinkFilter instead of looking up commit using `context[:ref]`. ## Why was this MR needed? Even though the commit object was already passed, unnecessary I/O is done to retrieve the commit object. ## What are the relevant issue numbers? Fixes #20026 See merge request !5455 |
||
---|---|---|
.. | ||
filter | ||
pipeline | ||
reference_parser | ||
cross_project_reference_spec.rb | ||
filter_array_spec.rb | ||
note_renderer_spec.rb | ||
object_renderer_spec.rb | ||
querying_spec.rb | ||
redactor_spec.rb |