forked from gitea/gitea
We only handle branch selection for repo home and commits pages, so the redirection URL is based on PageIsCommits
We only handle branch selection for repo home and commits pages, so the redirection URL is based on PageIsCommits