New issue branch is immediately tagged as "merged"
Steps to reproduce:
- Open an issue
- Use the "Create branch" button on the issue page
- Open the Repository/Branches page
Actual result:
- The new branch has the "merged" (merged into master) label
Expected result:
- No label
I guess that this label is put there because the new branch technically is still on the master (albeit not necessarily at its last commit, as master has progressed since the issue branch was created). The label should only be put there if there has been any other commit on the branch and it has actually been merged into master with a merge commit, and is not just in master's history.