Skip to content

Feature Request: Handle file stored in Git LFS so they can be displayed with appropriate extensions #6

@wildengrpro

Description

@wildengrpro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions