mirror of
https://github.com/go-gitea/gitea
synced 2025-02-25 06:14:20 +00:00
After the RefName refactoring, the `ctx.Repo.CommitID` is only set when there is a `RepoRefByType` middleware. Many handlers do not use that middleware and they only use "default branch"