Skip to content

Fetch the merged branches at once in the `/projects/:id/repository/branches` endpoint

What does this MR do?

This ports the improvements made on the branches page (!14729 (merged)) to the branches API.

Are there points in the code the reviewer needs to double check?

Not really.

Why was this MR needed?

Because !14729 (merged) didn't improve the API endpoint.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Solves #37442 (closed).

/cc @godfat

Edited by Rémy Coutable

Merge request reports