Shorten subject of parent commit for displaying in the UI

If the parent commit has a very long subject (> 80 characters) shorten
the subject for displaying it in the Gerrit WebUI on the change screen.
This avoids that the 'Parent(s)' cell for the patch set becomes very
wide.

Bug: issue 1294
Change-Id: I6836977f2d4e4871ba96916ab226260c7a7829c1
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed