• Francisco Javier López's avatar
    Fixing image lfs bug and also displaying text lfs · 5a3e6fdf
    Francisco Javier López authored
    This commit, introduced in !23812,
    fixes a problem creating a displaying image diff notes when the image
    is stored in LFS. The main problem was that `Gitlab::Diff::File` was
    returning an invalid valid in `text?` for this kind of files.
    It also fixes a rendering problem with other LFS files, like text
    ones. They LFS pointer shouldn't be shown when LFS is enabled
    for the project, but they were.
blob_helper.rb 4.02 KB