Issue 1901: commit message be truncated
Status:  WontFix
Owner: ----
Closed:  May 2013
Reported by U20101...@gmail.com, May 5, 2013
Hi,I got a problem with the length of gerrit subject in mysql ,the column `subject` of table `changes` is varchar(255),if the commit message is longer than 255 Byte,it will be truncated to 255.And it doesn't work to modify the length of column `subject` to varchar(350).
May 5, 2013
#1 U20101...@gmail.com
(No comment was entered for this change.)
QQ图片20130506140652.jpg
39.1 KB   View   Download
QQ图片20130506140703.jpg
46.7 KB   View   Download
May 6, 2013
#2 sop@google.com
We can't increase the length of VARCHAR supported by your database.
Status: WontFix
May 6, 2013
#3 U20101...@gmail.com
Thanks for your answer.
You mean that the gerrit just supports 255 Bytes for the column 'subject' in mysql?
Does it limited by the gerrit's code?

My problem is: I increased the length of varchar in my local database, and it doesn't work, the commit message is also being truncated. So i think it maybe did restrictions in the source code of gerrit.
May 6, 2013
#4 sop@google.com
Well its certainly not supported.

The first line of a commit message should be a short line that summarizes the change, followed by a blank line, and then the rest of the message describing why this change is being made to the project. This is standard Git formatting and almost every git history inspection tool works under the same principal.