Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent panic on looking at api "git" endpoints for empty repos (go-g…
…itea#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 go-gitea#22452 Signed-off-by: Andrew Thornton <art27@cantab.net>
- Loading branch information