Repo page redirect infinitely #13908

Closed
opened 2025-11-02 10:56:54 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @XljBear on GitHub (Jan 3, 2025).

Description

When I created a new repository and tried to migrate an existing project, I only pushed the repository tags, not the branches, which would cause the repo page to redirect infinitely.

Gitea Version

1.22.6

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

run from docker compose

Database

None

Originally created by @XljBear on GitHub (Jan 3, 2025). ### Description When I created a new repository and tried to migrate an existing project, I only pushed the repository tags, not the branches, which would cause the repo page to redirect infinitely. ### Gitea Version 1.22.6 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? run from docker compose ### Database None
GiteaMirror added the issue/confirmedtype/bugissue/workaround labels 2025-11-02 10:56:54 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jan 3, 2025):

Hmm, interesting bug ... the workaround could be add a branch to the repo and push it ........

@wxiaoguang commented on GitHub (Jan 3, 2025): Hmm, interesting bug ... the workaround could be add a branch to the repo and push it ........
Author
Owner

@lunny commented on GitHub (Jan 4, 2025):

Github will display information for such a situation. https://github.com/lunny/test-tags .

@lunny commented on GitHub (Jan 4, 2025): Github will display information for such a situation. https://github.com/lunny/test-tags .
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13908