You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pushing a non-default branch (e.g. everything except master) to an empty repository, the dropdown menu for branch selection is wrongly labeled master. The dropdown menu shows the correct branches.
https://try.gitea.io/foobar42/test-repository
Description
When pushing a non-default branch (e.g. everything except
master
) to an empty repository, the dropdown menu for branch selection is wrongly labeledmaster
. The dropdown menu shows the correct branches.On further investigation I noticed that the link to the commits for the current branches links to https://try.gitea.io/foobar42/test-repository/commits/branch/master which produces a 404 error.
Also visiting the branches overview (https://try.gitea.io/foobar42/test-repository/branches/) lists
master
as default branch (which does not exist) but does not list thedevelop
branch.In general it seems like the UI gets confused when there is only one branch which at the same time is not the default branch.
Screenshots
The text was updated successfully, but these errors were encountered: