Display LFS pointer contents in web-ui
Copying from gitlab-org/gitlab-ee#153:
Currently we are trying to use git-lfs to store images in our repo (they can be larger and can change very frequently). When trying to show the images in the web-ui it just shows the data of the lfs-pointer (version, oid, size).
version https://git-lfs.github.com/spec/v1
oid sha256:76a40c613cde55709e20c7949894cb3f0e300b24bde020f68a7163980c8d2174
size 26311
It would be extremely helpful if images, which are managed by lfs, could be displayed just the same way as images managed by git itself (displaying them when opening them in the files tab, side-by-side view for merge requests (!))
In addition to the original request, for us it would be very useful to see the lfs-pointer data in web ui so that one could compare i.e. the SHA256 value of the file to a known value for validation instead of having to store a separate file just for that or using cmd-line commands such as git show HEAD:<file>