Skip to content

Draft: Extend HasRepository#default_branch with a default value

Igor Drozdov requested to merge id-has-repository-default-branch into master

What does this MR do?

We can benefit from it by:

  • Removing Project#default_branch_or_main method
  • Using the implementation for snippets, wiki, etc
Edited by Igor Drozdov

Merge request reports