Skip to content

feat: Option to view diff with entire file as context #8757

@nikclayton

Description

@nikclayton

Problem description

The diff view of a file splits it into the different hunks, with a few lines of context are shown.

Sometimes you need a lot more context.

Preferred solution

An option (which can be set once, not a toggle that I have to click every time I view a diff) to show the entire file (essentially, infinite context), with the diff regions highlighted as they currently are.

Screenshots

I'm coming from https://git-fork.com/, which can do this, see this screenshot.

Image

Notice also how git-fork colours regions in the scrollbar track to show where diffs in the file occur, and the nature of those diffs (green/red).

Metadata

Metadata

Assignees

No one assigned

    Labels

    UX/UIFocusing on user satisfaction, usability, and overall experiencenew featureAn entirely new featuer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions