500 error when browsing a repo where the only commits are tags. #701

Closed
opened 2025-11-02 03:33:38 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @sollie on GitHub (May 11, 2017).

  • Gitea version (or commit ref): 1.1.0
  • Git version: Not relevant
  • Operating system: Ubuntu 16.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist:

Description

Create new repo, push tag. Browsing repo produces a 500 error.
Pushing to master fixes it.

Relevant log entry:
2017/05/11 12:33:01 [...ules/context/repo.go:308 func1()] [E] GetBranches: exit status 1

Originally created by @sollie on GitHub (May 11, 2017). - Gitea version (or commit ref): 1.1.0 - Git version: Not relevant - Operating system: Ubuntu 16.04 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) https://try.gitea.io/sollie/test - [ ] No - [ ] Not relevant - Log gist: ## Description Create new repo, push tag. Browsing repo produces a 500 error. Pushing to master fixes it. Relevant log entry: 2017/05/11 12:33:01 [...ules/context/repo.go:308 func1()] [E] GetBranches: exit status 1
GiteaMirror added the type/bug label 2025-11-02 03:33:39 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#701