(c *context.Context)
| 20 | ) |
| 21 | |
| 22 | func RefCommits(c *context.Context) { |
| 23 | c.Data["PageIsViewFiles"] = true |
| 24 | switch c.Repo.TreePath { |
| 25 | case "": |
| 26 | Commits(c) |
| 27 | case "search": |
| 28 | SearchCommits(c) |
| 29 | default: |
| 30 | FileHistory(c) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | // TODO(unknwon) |
| 35 | func RenderIssueLinks(oldCommits []*git.Commit, _ string) []*git.Commit { |
nothing calls this directly
no test coverage detected