1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 17:25:54 +01:00
gitea/routers
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
..
api Prevent panic on looking at api "git" endpoints for empty repos (#22457) 2023-01-15 08:33:25 -06:00
common Support disabling database auto migration (#22053) 2022-12-07 09:58:31 -06:00
install fix: update settings table on install (#22326) 2023-01-03 14:33:41 -06:00
private Use context parameter in models/git (#22367) 2023-01-09 11:50:54 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Replace deprecated Webauthn library (#22400) 2023-01-11 21:51:00 -05:00
init.go Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00