Skip to content

Provide `ref` to BlameData query

What does this MR do and why?

Contributes to #436687 (closed)

Problem

getBlameData query doesn't specify ref argument. As a result, the blame information is loaded for a default branch. It leads to incorrect results when users request blame for non-default branches.

Solution

Specify ref argument in GraphQL query.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

See steps to reproduce here: #436687 (closed)

Merge request reports

Loading