In my workflow I use binary files for a lot of my work, of which PDFs and Office documents are committed to the repo but are stored in Git LFS. However, in this extension, when clicking on files in the pull request, such as PDFs or Excel documents, the preview editor opens (due to appropriate extensions installed), but there is nothing shown. I believe this is an issue with the extension not doing anything with git lfs as I have git lfs setup and functioning properly with in my repos.
So, the feature request is to give the extension the ability to handle files store in Git LFS so they can be displayed with appropriate extensions. There may be other ways to implement this, but here are two possible ideas:
- the extension could detect if the file is an LFS pointer and perform the git lfs pull on the file and then orchestrate things so the actual file could be shown.
OR
- the extension could handle the checkout of branch for the source branch of the PR so that it is local and then utilize this local branch to open and view the files.