Skip to content

Support for recursive blame #2194

Open
@knuesel

Description

@knuesel

For example in tig (and similarly in magit) you can blame recursively like this: Start by blaming some file, go to some line. Then press , to show the blame view of the same region of the same file but at the parent commit. This can be repeated to travel further back in time, always showing the same region of file. Press < to go the other way (forward in time).

This is very handy when trying to understand the history of a particular piece of code. It would be great to have it supported in gitui!

Activity

ilyagr

ilyagr commented on May 7, 2024

@ilyagr

A more discoverable shortcut for this might be pressing Shift-B again (since we're running Blame again on a different commit). Perhaps left arrow can go back (though perhaps we can think of something better than that).

As an aside, Tig works well for this, but I found its shortcuts hard to discover or remember. I did write them up in jonas/tig#1315 (comment).

added a commit that references this issue on Jul 1, 2024
8998aec
linked a pull request that will close this issue on Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Support for recursive blame · Issue #2194 · gitui-org/gitui