Skip to content
Snippets Groups Projects
Commit bd1b8ae9 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'relative-link-filter-ref' into 'master'

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
parents 936729e5 e63eccf9
No related branches found
No related tags found
1 merge request!5455Do not look up commit again when it is passed to RelativeLinkFilter
Pipeline #