diff options
author | Stan Hu <stanhu@gmail.com> | 2018-01-07 01:30:30 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-01-07 01:36:11 -0800 |
commit | 9d137f467fbd6c8e64f3347cd8f5dd90ebce729a (patch) | |
tree | f61b486efa8bf8d550f4ed3fd4e9f5fde0548dd6 /.babelrc | |
parent | 54bacb1860036ffcd722f7df033d7def6b1a8756 (diff) | |
download | gitlab-ce-sh-fix-issue-41735.tar.gz |
Fix error 500 when viewing commit and merge request diffssh-fix-issue-41735
Due to the refactoring in !16082, `Blob#batch` no longer falls back
to a default `blob_size_limit`. Since `Repository#batch_blobs` was using
a default `nil` value, this would cause issues in the `Blob#find_by_rugged`
method.
This fix here is to be consistent and use a non-nil default value in
`Repository#batch_blobs`.
The problem was masked in development and tests because Gitaly is always
enabled by default for all features.
Closes #41735
Diffstat (limited to '.babelrc')
0 files changed, 0 insertions, 0 deletions