Bo-Yi Wu 6459c50278
fix(api): refactor branch and tag existence checks (#30618)
- Update branch existence check to also include tag existence check
- Adjust error message for branch/tag existence check

ref: https://github.com/go-gitea/gitea/pull/30349

---------

Signed-off-by: appleboy <appleboy.tw@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-04-22 00:19:59 +02:00
..
2024-03-28 20:40:35 +00:00
2024-03-04 08:16:03 +00:00
2024-03-26 15:48:53 +08:00
2024-03-04 08:16:03 +00:00
2024-04-08 21:26:41 +00:00
2024-04-08 21:26:41 +00:00
2024-04-08 21:26:41 +00:00
2024-03-04 08:16:03 +00:00
2024-04-08 21:26:41 +00:00
2024-04-08 21:26:41 +00:00
2024-03-04 08:16:03 +00:00