go-gitlab-client
go-gitlab-client copied to clipboard
RepoCommits() missing parameter
I want the commit under the branch of this project, but this method does not have a second argument
What am I supposed to do ?
I can't find this function. Could you link the file you found it in?
Okay, I found it in the v1 branch.
It looks like the refname param was just never added and the whole function disappeared with v2. Thankfully, it should be really easy to add. I'll start adding this now on my fork.
I've added RefName
to the CommitOptions
object so that you can use the ProjectCommits
function.
Here is my change: https://github.com/edison-moreland/go-gitlab-client/blob/v3/gitlab/commits.go#L97
You'll need to switch to the v3 branch of my fork.
Let me know if you have any issues