diff --git a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommitExplorer.js b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommitExplorer.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommitExplorer.js
+++ b/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommitExplorer.js
@@ -171,7 +171,7 @@ define(['dojo', 'orion/explorer', 'orion/util', 'orion/compare/diff-provider', '
 			

 			var commitMessage1 = commit.Message.substring(commitMessage0.length, commit.Message.length);

 			

-			if (commitMessage1.length > 0){

+			if (commitMessage1.trim().length > 0){

 				div = dojo.create( "pre", null, detailsView );

 				dojo.place(document.createTextNode(cut ? "..." + commitMessage1 : commitMessage1.trim()), div);

 				dojo.create( "div", {"style":"padding-top:15px"}, detailsView );
Do not show an empty box when the commit message ends with
the end-line character