Skip to content

Fix Gitlab::Git::Repository#log_by_shell limit issue

Kim Carlbäcker requested to merge fix-log-by-shell-limit into master

What does this MR do?

Only append --max-count=#{limit} if limit != 0

Why was this MR needed?

It blows up in Gitaly otherwise for any requests that doesn't explicitly set limit https://gitlab.com/gitlab-org/gitaly/-/jobs/49303620

Does this MR meet the acceptance criteria?

/label Gitaly /assign @jacobvosmaer-gitlab

Edited by Kim Carlbäcker

Merge request reports