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.rb | ||
filter.rb | ||
filter_array.rb | ||
note_renderer.rb | ||
object_renderer.rb | ||
pipeline.rb | ||
querying.rb | ||
redactor.rb | ||
reference_extractor.rb | ||
reference_parser.rb | ||
renderer.rb |