Skip to content

Improved or configurable behavior for PrevMessage #1844

@creinig

Description

@creinig

Is your feature request related to a problem? Please describe.

In the commit dialog, the "PrevMessage" and "NextMessage" bindings get the messages from git log --reflog ..., which includes commit messages from all branches. With > 40 developers working on about the same number of feature branches, that means the message I get from the "PrevMessage" binding is effectively random.

I need to include the issue ID of my feature branch in the commit message, so I'd like to pre-fill the commit message with my previous one from my branch.

Describe the solution you'd like

When fetching commit messages via git log, use --walk-reflogs instead of --reflog

Describe alternatives you've considered

I personally consider the current behavior a bug, but others might like it. So maybe this should be configurable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions