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

Add copy helper for commit messages #1823

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

kaste
Copy link
Collaborator

@kaste kaste commented Dec 8, 2023

Fixes #1572

Commit messages are indented by 4 spaces when looking at patches, e.g. the output of "Show Commit" or "Line History", which makes a copy/paste operation (if you want to copy multiple lines) cumbersome.

Fix this by adding a copy helper which strips the leading 4 spaces. A user can issue the "copy" command twice to get the standard behavior.

copy.helper.mp4

Fixes #1572

Commit messages are indented by 4 spaces when looking at patches, e.g.
the output of "Show Commit" or "Line History", which makes a copy/paste
operation (if you want to copy multiple lines) cumbersome.

Fix this by adding a copy helper which strips the leading 4 spaces.  A
user can issue the "copy" command twice to get the standard behavior.
@kaste kaste enabled auto-merge December 8, 2023 22:10
@kaste kaste merged commit 18f7b02 into master Dec 8, 2023
8 checks passed
@kaste kaste deleted the commit-message-copy-helper branch December 8, 2023 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add copy helper for the commit message to the commit view
1 participant