Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes accessibility of empty repository commit status (go-gitea#22632)
Avoid empty labelled anchor in repo without commits. Contributed by @forgejo. <!-- Please check the following: 1. Make sure you are targeting the `main` branch, pull requests on release branches are only allowed for bug fixes. 2. Read contributing guidelines: https://github.com/go-gitea/gitea/blob/main/CONTRIBUTING.md 3. Describe what your pull request does and which issue you're targeting (if any) --> (cherry picked from commit 638e6160e84ac4625af35f4e473a8a8610ca06df)
- Loading branch information