Gerrit “too many commits” 问题
gerrit的一个默认最大提交数的限制 ,看了下gerrit的光放说明,more是10000(如下:)
**receive.maxBatchCommits**
The maximum number of commits that Gerrit allows to be pushed in a batch directly to a branch when bypassing review. This limit can be bypassed if a user skips validation.
Default is 10000.
修改 一下这个参数的 receive section中添加maxBatchCommits = 100000:
[receive]
enableSignedPush = false
maxBatchCommits = 100000
[sendemail]
参考:
[1]:http://intoyv.com/index.php/2018/07/09/gerrit配置文件修改/
[2]: https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#receive.maxBatchCommits