Skip to content

Remove two unused formats from Projects::TreeController#show

What does this MR do?

When viewing a tree in a project's repository, we use the Projects::TreeController#show endpoint for the overall view, and make background calls to Projects::RefsController#logs_tree endpoint to populate expensive N+1 data about each entry in the tree.

At some point, we called back to the #show endpoint to get this data instead, but that no longer seems to happen, making this dead code.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #38261 (closed)

Merge request reports

Loading