Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Privacy
    • Imprint
    • Contact
    • Login methods
  • Sign in
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • projects.thm.de
  • GitLab FOSSGitLab FOSS
  • Repository
Switch branch/tag
  • gitlab
  • lib
  • api
  • branches.rb
Find file BlameHistoryPermalink
  • Stan Hu's avatar
    Fix API /project/:id/branches not returning correct merge status · cedbb336
    Stan Hu authored Mar 29, 2019
    https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24034 introduced
    a regression where only the first 20 branches were used to determine
    whether a branch has been merged because the pagination was applied
    incorrectly. Requesting the second page of branches via the API would
    always have the wrong merge status. We fix this by properly paginating
    the branches before requesting their merge status.
    
    Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56250
    cedbb336