Skip to content

"Wrap Paragraph at Ruler" should respect trailers #2567

@fo-fo

Description

@fo-fo

If there are Git trailers at the end of the commit message, e.g.:

My commit message

Here's my long commit message, hello! Here's my long commit message, hello! Here's my long commit message, hello! Here's my long commit message, hello!

trailer1: foo
somethingElse: bar

"Wrap Paragraph at Ruler" (context menu on commit message) results in:

My commit message

Here's my long commit message, hello! Here's my long commit message,
hello! Here's my long commit message, hello! Here's my long commit
message, hello!

trailer1: foo somethingElse: bar

I think the formatting should respect the existing trailers and not format them.

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