summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/ui-diff.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-08 14:30:12 -0400
committerJune McEnroe <june@causal.agency>2021-06-08 14:34:33 -0400
commit044df6aad5675524c0b1051cfee03e1c8b2abd0e (patch)
tree0cca093309d205972a2643210e8f96e4a30a1c4e /www/git.causal.agency/cgit/ui-diff.c
parentFetch git .tar.gz for compatibility (diff)
parentSquashed 'www/git.causal.agency/cgit/' changes from 55fa25ad..5258c297 (diff)
downloadsrc-044df6aad5675524c0b1051cfee03e1c8b2abd0e.tar.gz
src-044df6aad5675524c0b1051cfee03e1c8b2abd0e.zip
Merge commit '5213546273ee798369ff594ad60077f1bef4655e'
Diffstat (limited to '')
-rw-r--r--www/git.causal.agency/cgit/ui-diff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/git.causal.agency/cgit/ui-diff.c b/www/git.causal.agency/cgit/ui-diff.c
index 97c1ca02..2a64ae8f 100644
--- a/www/git.causal.agency/cgit/ui-diff.c
+++ b/www/git.causal.agency/cgit/ui-diff.c
@@ -97,8 +97,8 @@ static void print_fileinfo(struct fileinfo *info)
 		html("]</span>");
 	}
 	htmlf("</td><td class='%s'>", 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("<div class='diffstat-header'>");
-	cgit_diff_link("Diffstat", NULL, NULL, ctx.qry.head, ctx.qry.sha1,
-		       ctx.qry.sha2, NULL);
+	cgit_diff_link("Diffstat", NULL, NULL, ctx.qry.head, ctx.qry.oid,
+		       ctx.qry.oid2, NULL);
 	if (prefix) {
 		html(" (limited to '");
 		html_txt(prefix);