Bläddra i källkod

Fixed submodule diff display

tags/v1.3.0
James Moger 11 år sedan
förälder
incheckning
0a44f9b354
2 ändrade filer med 14 tillägg och 1 borttagningar
  1. 2
    1
      releases.moxie
  2. 12
    0
      src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java

+ 2
- 1
releases.moxie Visa fil

- Disable SNI extensions for client SSL connections - Disable SNI extensions for client SSL connections
- Fixed prettify language extension loading - 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 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 AddindexedBranch tool when specifying the non-default branch.
- Fixed submodule diff display
changes: changes:
- Improved error logging for servlet containers which provide a null contextFolder (issue 199) - Improved error logging for servlet containers which provide a null contextFolder (issue 199)

+ 12
- 0
src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java Visa fil

sb.append("<table><tbody>"); sb.append("<table><tbody>");
inFile = true; inFile = true;
} else { } 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); sb.append(line);
if (gitLinkDiff) {
sb.append("</div></td></tr>");
}
} }
} }
sb.append("</table></div>"); sb.append("</table></div>");

Laddar…
Avbryt
Spara