forgejo/routers/api/v1/repo
Gusted 334707fee9
Don't error when branch's commit doesn't exist (#19547)
* Don't error when branch's commit doesn't exist

- If one of the branches no longer exists, don't throw an error, it's possible that the branch was destroyed during the process. Simply skip it and disregard it.
- Resolves #19541

* Don't send empty objects

* Use more minimal approach
2022-04-29 16:44:40 +08:00
..
blob.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
branch.go Don't error when branch's commit doesn't exist (#19547) 2022-04-29 16:44:40 +08:00
collaborators.go
commits.go Pass gitRepo down to GetRawDiff, since its used for main repo and wiki (#19461) 2022-04-25 20:45:18 +02:00
file.go Add "Allow edits from maintainer" feature (#18002) 2022-04-28 17:45:33 +02:00
fork.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00
git_hook.go
git_ref.go
hook.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
hook_test.go
issue.go User specific repoID or xorm builder conditions for issue search (#19475) 2022-04-25 16:06:24 +02:00
issue_comment.go more context for models (#19511) 2022-04-28 13:48:48 +02:00
issue_label.go
issue_reaction.go Move reaction to models/issues/ (#19264) 2022-03-31 17:20:39 +08:00
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Never use /api/v1 from Gitea UI Pages (#19318) 2022-04-07 20:59:56 +02:00
key.go
label.go Move init repository related functions to modules (#19159) 2022-03-29 15:23:45 +08:00
language.go
main_test.go Use queue instead of memory queue in webhook send service (#19390) 2022-04-25 20:03:01 +02:00
migrate.go Document 409 error returned by repos/migrate api (#19376) 2022-04-12 16:13:07 +08:00
milestone.go Move milestone to models/issues/ (#19278) 2022-04-08 17:11:15 +08:00
mirror.go An attempt to sync a non-mirror repo must give 400 (Bad Request) (#19300) 2022-04-01 14:29:57 -04:00
notes.go RepoAssignment ensure to close before overwrite (#19449) 2022-04-21 17:17:57 +02:00
patch.go Add "Allow edits from maintainer" feature (#18002) 2022-04-28 17:45:33 +02:00
pull.go Add "Allow edits from maintainer" feature (#18002) 2022-04-28 17:45:33 +02:00
pull_review.go more context for models (#19511) 2022-04-28 13:48:48 +02:00
release.go
release_attachment.go
release_tags.go
repo.go more context for models (#19511) 2022-04-28 13:48:48 +02:00
repo_test.go
star.go
status.go
subscriber.go
tag.go
teams.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
topic.go
transfer.go Fix logging of Transfer API (#19456) 2022-04-22 00:05:53 +08:00
tree.go
wiki.go Make git.OpenRepository accept Context (#19260) 2022-03-30 03:13:41 +08:00