Support pages in getCommits