summaryrefslogtreecommitdiffabout
path: root/ui-diff.c
Unidiff
Diffstat (limited to 'ui-diff.c') (more/less context) (show whitespace changes)
-rw-r--r--ui-diff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui-diff.c b/ui-diff.c
index 0be845f..11a2ff8 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -128,13 +128,12 @@ void cgit_print_diff(const char *new_rev, const char *old_rev)
128 return; 128 return;
129 } 129 }
130 commit2 = lookup_commit_reference(sha2); 130 commit2 = lookup_commit_reference(sha2);
131 if (!commit2 || parse_commit(commit2)) 131 if (!commit2 || parse_commit(commit2))
132 cgit_print_error(fmt("Bad commit: %s", sha1_to_hex(sha2))); 132 cgit_print_error(fmt("Bad commit: %s", sha1_to_hex(sha2)));
133 } 133 }
134
135 html("<table class='diff'>"); 134 html("<table class='diff'>");
136 html("<tr><td>"); 135 html("<tr><td>");
137 cgit_diff_tree(sha2, sha1, filepair_cb); 136 cgit_diff_tree(sha2, sha1, filepair_cb, NULL);
138 html("</td></tr>"); 137 html("</td></tr>");
139 html("</table>"); 138 html("</table>");
140} 139}