I would suggest to show here the short message of the commit like in the History View (in class CommitMessageViewer) using element.getComment(). This would be more consistent and be more relevant for the user.