X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/11695a58fd732689be486edf88d145578a787c89..f69626c68eb64e1a2f6b4ba055409d7205e72757:/ui-diff.c
diff --git a/ui-diff.c b/ui-diff.c
index 173d351..5ed5990 100644
--- a/ui-diff.c
+++ b/ui-diff.c
@@ -82,7 +82,7 @@ static void print_fileinfo(struct fileinfo *info)
}
html("
");
- htmlf("");
+ html(" | ");
if (is_null_oid(info->new_oid)) {
cgit_print_filemode(info->old_mode);
} else {
@@ -97,8 +97,8 @@ static void print_fileinfo(struct fileinfo *info)
html("]");
}
htmlf(" | ", class);
- cgit_diff_link(info->new_path, NULL, NULL, ctx.qry.head, ctx.qry.sha1,
- ctx.qry.sha2, info->new_path);
+ cgit_diff_link(info->new_path, NULL, NULL, ctx.qry.head, ctx.qry.oid,
+ ctx.qry.oid2, info->new_path);
if (info->status == DIFF_STATUS_COPIED || info->status == DIFF_STATUS_RENAMED) {
htmlf(" (%s from ",
info->status == DIFF_STATUS_COPIED ? "copied" : "renamed");
@@ -194,8 +194,8 @@ static void cgit_print_diffstat(const struct object_id *old_oid,
int i;
html(" |