-rw-r--r-- | ui-diff.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -105,8 +105,10 @@ void cgit_print_diff(const char *head, const char *old_hex, const char *new_hex, if (commit && !parse_commit(commit)) cgit_diff_commit(commit, filepair_cb); else cgit_print_error(fmt("Bad commit: %s", head)); + html("</td></tr>"); + html("</table>"); return; } get_sha1(old_hex, sha1); |