Skip to content

Strip surrounding whitespace from commit message #29

@lociii

Description

@lociii

Hey Kevin,

thanks a lot for your work on this really useful extension.
We set it up with a template that allows for optional details at the end of the message.

"vscodeGitCommit.template": [
	"{type}: {message}, {action} {reference}",
	"",
	"{details}"
]

Now if details are kept empty, we will end up with two empty lines in the commit message. It would be ideal if it could be stripped from whitespace at the end of the template processing. What do you think?

Thanks, Jens

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions