-
- Downloads
Ensure that we never assume old_blob or new_blob are nil
These can be a `BatchLoader` which is proxying a nil, while not being concrete nils themselves.
Showing
- changelogs/unreleased/44257-viewing-a-particular-commit-gives-500-error-error-undefined-method-binary.yml 5 additions, 0 deletions...-commit-gives-500-error-error-undefined-method-binary.yml
- lib/gitlab/diff/file.rb 21 additions, 18 deletionslib/gitlab/diff/file.rb
- spec/lib/gitlab/diff/file_spec.rb 12 additions, 0 deletionsspec/lib/gitlab/diff/file_spec.rb
Please register or sign in to comment