-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Closed
Labels
Description
Description
To reproduce the issue, perform the following steps:
- Create a mirror repository based on a multi-branch remote repository.
- Delete a branch from the remote repository (in this example, the branch is named “test”).
- Synchronize the mirror.
You will see the following deleted reference activity log, but the name clearly contains an error. The branch should correspond to refs/heads/test rather than refs/tags/test (or should we ignore the refs/xxx prefix?).
Test remote repository: https://gitea.com/404notfound/test123
Test mirror repository: https://demo.gitea.com/404notfound/test123
The remote repository's activity log confirms that the test reference is a branch:

Gitea Version
1.25.4
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?
Docker
Database
SQLite
Reactions are currently unavailable