Skip to content

Rewrap long lines in commit message #34178

@drsybren

Description

@drsybren

Feature Description

When using the "Create Squash Commit" button, Gitea copies the PR description into the commit message field. It would be great if Gitea would automatically rewrap long lines so that they fall within the common limit of 72 characters. Currently I have to copy-paste the contents into a text editor that is set up for this limit, do the line wrapping there, then copy the text back into Gitea. It works, but is a bit cumbersome.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions