Changing the default branch does not update the Commit (#) button on the project page
Summary
If you change the default branch, the commit button on the project page will still show the commit count of initial default branch.
Steps to reproduce
- Create repository with master branch
- Create one commit in master branch
- Branch master into develop
- Add 1 or more commits to develop
- Switch default branch to develop
- Navigate to project page
- See the commit count for the master branch.
Expected behavior
The commit count of the current default branch.
Actual behavior
The commit count of the initial default branch.
Relevant logs and/or screenshots
Edited by Michelle Gill
