Skip to content

View log/history of a file #381

Closed
@jarod

Description

@jarod

Is your feature request related to a problem? Please describe.
As what gitk <filename> do. You can view commit logs of the file specified. Then select one of the logs to view changes made to the file in that commit.

Describe the solution you'd like
not serious thoughts:

  • on launch: gitui <filename>
  • on any file list view add a [file log] command which go to log tab view logs filtered by the selected file

any file list view above include but not limit to:

  • tab [Status] -> Unstaged Changes and Staged Changes window
  • tab [Log] -> Files window when view a commit log
  • tab [Stashing]
  • tab [Stashes]

Additional context
gitk Cargo.toml on ripgrep repo:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions