| Issue 1950: | Commit message editor should wrap and trim the message | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.6-rc3 What steps will reproduce the problem? 1. Edit a commit message using the commit message edit dialog 2. Type some text long enough to wrap several lines in the dialog window 3. Manually wrap some lines (<END><RETURN>) and do not wrap others 4. Save the message What is the expected output? I expect the message lines to have hard LFs inserted so the commit message is normal-formatted (72 chars). I expect spaces to be trimmed from the end of lines. What do you see instead? Spaces are not trimmed and show up as whitespace errors in Gerrit. Lines are not wrapped as shown in the dialog window. Please provide any additional information below.
Jun 7, 2013
#1
phil.hord
Jun 7, 2013
There's an html-way to wrap messages for HTML5. <textarea rows="20" cols="72" wrap="hard"> But maybe this is something that should be handled in the rest-api instead.
Jun 20, 2013
See also: https://gerrit-review.googlesource.com/#/c/39451/ |
|
| ► Sign in to add a comment |