summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2a09c0d)
At least those that were catched by tidy.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
info->removed * 100.0 / max_changes);
htmlf("<td class='none' style='width: %.1f%%;'/>",
(max_changes - info->removed - info->added) * 100.0 / max_changes);
info->removed * 100.0 / max_changes);
htmlf("<td class='none' style='width: %.1f%%;'/>",
(max_changes - info->removed - info->added) * 100.0 / max_changes);
- html("</tr></table></a></td></tr>\n");
+ html("</tr></table></td></tr>\n");
}
void cgit_count_diff_lines(char *line, int len)
}
void cgit_count_diff_lines(char *line, int len)
int subproject;
subproject = (S_ISDIRLNK(mode1) || S_ISDIRLNK(mode2));
int subproject;
subproject = (S_ISDIRLNK(mode1) || S_ISDIRLNK(mode2));
html("<div class='head'>");
html("diff --git a/");
html_txt(path1);
html("<div class='head'>");
html("diff --git a/");
html_txt(path1);
commit = lookup_commit_reference(sha1);
if (commit && !parse_commit(commit)) {
html("<table class='diff'>");
commit = lookup_commit_reference(sha1);
if (commit && !parse_commit(commit)) {
html("<table class='diff'>");
cgit_diff_commit(commit, filepair_cb);
cgit_diff_commit(commit, filepair_cb);
- html("</td></tr></table>");
+ html("</td></tr>");
+ html("</table>");
header(sha1, path, 0644, sha2, path, 0644);
if (cgit_diff_files(sha1, sha2, print_line))
cgit_print_error("Error running diff");
header(sha1, path, 0644, sha2, path, 0644);
if (cgit_diff_files(sha1, sha2, print_line))
cgit_print_error("Error running diff");
break;
case OBJ_TREE:
cgit_diff_tree(sha1, sha2, filepair_cb);
break;
case OBJ_TREE:
cgit_diff_tree(sha1, sha2, filepair_cb);
typename(type)));
break;
}
typename(type)));
break;
}
- html("</td></tr></table>");
cgit_query_path ? cgit_query_path : "",
pathname)));
}
cgit_query_path ? cgit_query_path : "",
pathname)));
}
- htmlf("'>%s</a></div></td>", name);
+ htmlf("'>%s</a></td>", name);
htmlf("<td class='filesize'>%li</td>", size);
html("<td class='links'><a href='");
htmlf("<td class='filesize'>%li</td>", size);
html("<td class='links'><a href='");