Skip to content

No branches in non-bare repository #3704

Closed
@Governa

Description

@Governa
  • Gitea version (or commit ref): 05abd03
  • Git version: 2.15.0
  • Operating system: Ubuntu
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No (Unavailable right now, but probably yes)
    • Not relevant
  • Log gist:

Description

If an user creates a repository and don't push any branches to it(just tags for example) Gitea shows an 500 error.

The problem is that it is not clear for the user why the error is being shown and what to do to solve it. Even worse is that it makes it difficult to delete the repository and try again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions