Allow API method /projects/:id/repository/commits to work over all commits
Description
Right now, our custom solution will run git rev-list --reverse --all which will return all commits for a repo. The above method in gitlab will only return the default branches's commits. You are able to pass in ref_name which will scan another branch.
Proposal
Add an optional parameter for all = TRUE (defaults to false) to scan all branches with one call to the API.