0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 00:44:15 -05:00
forgejo/routers/api
zeripath cc1f8cbe96
Prevent panic on looking at api "git" endpoints for empty repos (#22457)
The API endpoints for "git" can panic if they are called on an empty
repo. We can simply allow empty repos for these endpoints without worry
as they should just work.

Fix #22452

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-01-15 08:33:25 -06:00
..
packages Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
v1 Prevent panic on looking at api "git" endpoints for empty repos (#22457) 2023-01-15 08:33:25 -06:00