Skip to content

Feature Request: Allow changing blame base. #952

@AlansCodeLog

Description

@AlansCodeLog

Many times when I'm working and I commit something then several commits later later need to fixup a line in that commit. I make the change but then to know which commit to fixup I sometimes need to git blame the line quickly to find this out, but blame shows "Not Committed Yet".

I already know the state of the line due to the signs (and I have _signs_staged_enable to know if staged/not), so I'd like to be able to just do git blame HEAD instead. Also this would allow something like git blame master in some cases were I would like to blame against master or commits before a certain commit (e.g. an already pushed commit).

Current I'm using fugitive's blame to do this, but it only shows the commit sha, and to get to the commit message you have to use a lot of keystrokes.

Would it be possible to allow changing the base for the blame command? I tried to patch the plugin manually but that didn't work as it seems it's doing some other stuff to detect this special case.

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