gogs / git

Package GoGits - Git is a pure Go implementation of Git manipulation.
Apache License 2.0
176 stars 32 forks source link

Hard limit of 100 commits in `Repository.searchCommits` #14

Open mechmind opened 8 years ago

mechmind commented 8 years ago

Hi. I am currently rewriting last bits of library that use git binary invocation and found that searchCommits will look only for 100 commits. Should I copy that behavior or remove limit?

unknwon commented 8 years ago

Yes... you can change it to pass the limit through argument.