You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
zeripath f93522ddae
Prevent panic on looking at api "git" endpoints for empty repos (#22457) (#22458)
Backport #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>
2 years ago
..
api Prevent panic on looking at api "git" endpoints for empty repos (#22457) (#22458) 2 years ago
common Add support for HEAD requests in Maven registry (#21834) (#21929) 2 years ago
install fix: update settings table on install (#22326) (#22327) 2 years ago
private Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
utils refactor webhook *NewPost (#20729) 3 years ago
web Prepend refs/heads/ to issue template refs (#20461) (#22427) 2 years ago
init.go Sync git hooks when config file path changed (#21619) (#21626) 2 years ago