0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 20:53:00 +01:00
gitea/routers/api
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
..
packages
v1 Don't error when branch's commit doesn't exist (#19547) 2022-04-29 16:44:40 +08:00