Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve reusing old commit messages #3567

Open
mikavilpas opened this issue May 16, 2024 · 0 comments
Open

Improve reusing old commit messages #3567

mikavilpas opened this issue May 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mikavilpas
Copy link

Is your feature request related to a problem? Please describe.
In the commit summary window, I can press <up> and <down> (the arrow keys) to cycle between old commit messages. I use this feature a lot when making "save points" in my notes that I keep for work in a git repository, as well as my dotfiles config.

This works well, but sometimes I mix these repeated commits and new ones. Here is an example where I keep updating my neovim (text editor) plugin lock file:

image

Describe the solution you'd like
When I am in the commit summary window and press <up>, let's somehow highlight the commit message whose message has been repeated.

Here, the matching commit message could be highlighted so what the next commit message is going to be I know when I press <up> again to scroll further back the history:

image

Describe alternatives you've considered
Another way to do this could be to show the next + previous message summaries in the Commit summary window itself. This might be a better option if the Commits pane is not visible.

@mikavilpas mikavilpas added the enhancement New feature or request label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant