changes:\r
- Improved error logging for servlet containers which provide a null contextFolder (issue 199)\r
- Improve Gerrit change ref decoration in the refs panel (issue 206)\r
+ - Display full commit message on commitdiff page (issue-258)\r
- Improved the repository url display. This display now indicates your repository access permission, per-protocol.\r
- Automatically encode/decode usernames for urls using %XX notation on space, @, and \\r
- Disable Gson's pretty printing which has a huge performance gain\r
<!-- commit header -->\r
<div wicket:id="commitHeader">[commit header]</div>\r
\r
- <!-- changed paths -->\r
- <div style="padding-top:15px;">\r
- <!-- commit legend -->\r
- <div class="hidden-phone" style="text-align:right;" wicket:id="commitLegend"></div>\r
+ <!-- full message -->\r
+ <pre style="border-style:none" "class="commit_message" wicket:id="fullMessage">[commit message]</pre>\r
+\r
+ <!-- commit legend -->\r
+ <div class="hidden-phone" style="text-align:right;" wicket:id="commitLegend"></div>\r
\r
- <div class="header"><i class="icon-file"></i> <wicket:message key="gb.changedFiles">[changed files]</wicket:message></div>\r
- </div>\r
+ <!-- changed paths -->\r
+ <div class="header"><i class="icon-file"></i> <wicket:message key="gb.changedFiles">[changed files]</wicket:message></div>\r
\r
<table class="pretty">\r
<tr wicket:id="changedPath">\r
package com.gitblit.wicket.pages;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import org.apache.wicket.PageParameters;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.revwalk.RevCommit;
+import com.gitblit.Constants;
import com.gitblit.GitBlit;
import com.gitblit.Keys;
import com.gitblit.models.PathModel.PathChangeModel;
+import com.gitblit.models.GitNote;
import com.gitblit.models.SubmoduleModel;
import com.gitblit.utils.DiffUtils;
import com.gitblit.utils.DiffUtils.DiffOutputType;
import com.gitblit.wicket.WicketUtils;
import com.gitblit.wicket.panels.CommitHeaderPanel;
import com.gitblit.wicket.panels.CommitLegendPanel;
+import com.gitblit.wicket.panels.GravatarImage;
import com.gitblit.wicket.panels.LinkPanel;
+import com.gitblit.wicket.panels.RefsPanel;
public class CommitDiffPage extends RepositoryPage {
add(new CommitHeaderPanel("commitHeader", repositoryName, commit));
+ addFullText("fullMessage", commit.getFullMessage(), true);
+
// changed paths list
List<PathChangeModel> paths = JGitUtils.getFilesInCommit(r, commit);