Rewrap long lines in commit message #14363

Open
opened 2025-11-02 11:10:57 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @drsybren on GitHub (Apr 11, 2025).

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

Originally created by @drsybren on GitHub (Apr 11, 2025). ### 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_
GiteaMirror added the type/proposal label 2025-11-02 11:10:57 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14363