releases.moxie | ●●●●● patch | view | raw | blame | history | |
src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java | ●●●●● patch | view | raw | blame | history |
releases.moxie
@@ -32,6 +32,7 @@ - Fixed prettify language extension loading - Fixed index out of bounds exceptions when generating client certificates for a user when the user's table has been filtered - Fixed AddindexedBranch tool when specifying the non-default branch. - Fixed submodule diff display changes: - Improved error logging for servlet containers which provide a null contextFolder (issue 199) src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java
@@ -157,7 +157,19 @@ sb.append("<table><tbody>"); inFile = true; } else { boolean gitLinkDiff = line.length() > 0 && line.substring(1).startsWith("Subproject commit"); if (gitLinkDiff) { sb.append("<tr><th></th><th></th>"); if (line.charAt(0) == '+') { sb.append("<td><div class=\"diff add2\">"); } else { sb.append("<td><div class=\"diff remove2\">"); } } sb.append(line); if (gitLinkDiff) { sb.append("</div></td></tr>"); } } } sb.append("</table></div>");