forgejo/routers/api/v1/repo
Bo-Yi Wu 4e2de8bdc6
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>
(cherry picked from commit 6459c50278906893f3cbc2bf3e52eff65e739b37)
2024-04-28 15:39:00 +02:00
..
action.go Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00
avatar.go
blob.go
branch.go Fix branch_protection api shows users/teams who has no readAccess (#30291) 2024-04-21 16:28:16 +02:00
collaborators.go
commits.go
compare.go feat(api): implement branch/commit comparison API (#30349) 2024-04-21 11:58:18 +02:00
file.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
flags.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_attachment.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_comment.go Do some performance optimize for issues list and view issue/pull (gitea#29515) 2024-04-08 14:47:31 +02:00
issue_comment_attachment.go
issue_dependency.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_label.go
issue_pin.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go
pull.go fix(api): refactor branch and tag existence checks (#30618) 2024-04-28 15:39:00 +02:00
pull_review.go Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 2024-03-30 07:17:32 +01:00
release.go [FEAT]Add Option to hide Release Archive links (#3139) 2024-04-24 15:15:55 +00:00
release_attachment.go
release_tags.go
repo.go Allow changing global wiki editability via the API 2024-04-16 22:51:36 +02:00
repo_test.go
runners.go
star.go
status.go
subscriber.go
tag.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
teams.go
topic.go
transfer.go
tree.go
wiki.go api: The repo wiki APIs should respect WikiBranch 2024-04-25 00:36:58 +02:00