about summary refs log tree commit diff stats
path: root/ui-log.c
diff options
context:
space:
mode:
authorChristian Hesse2020-10-20 23:32:45 +0200
committerChristian Hesse2020-10-20 23:57:12 +0200
commit779631c6dc23c15bbbf45a7c7ab9fffb619037b7 (patch)
tree99ddcae06134e97ef490fb1a4c9f6ab095ca5052 /ui-log.c
parentgit: update to v2.29.0 (diff)
downloadcgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.tar.gz
cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.zip
global: replace references to 'sha1' with 'oid'
For some time now sha1 is considered broken and upstream is working to
replace it with sha256. Replace all references to 'sha1' with 'oid',
just as upstream does.

Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-log.c')
-rw-r--r--ui-log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-log.c b/ui-log.c index fd07409..6914f75 100644 --- a/ui-log.c +++ b/ui-log.c
@@ -463,7 +463,7 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
463 if (pager) { 463 if (pager) {
464 html(" ("); 464 html(" (");
465 cgit_log_link(ctx.qry.showmsg ? "Collapse" : "Expand", NULL, 465 cgit_log_link(ctx.qry.showmsg ? "Collapse" : "Expand", NULL,
466 NULL, ctx.qry.head, ctx.qry.sha1, 466 NULL, ctx.qry.head, ctx.qry.oid,
467 ctx.qry.vpath, ctx.qry.ofs, ctx.qry.grep, 467 ctx.qry.vpath, ctx.qry.ofs, ctx.qry.grep,
468 ctx.qry.search, ctx.qry.showmsg ? 0 : 1, 468 ctx.qry.search, ctx.qry.showmsg ? 0 : 1,
469 ctx.qry.follow); 469 ctx.qry.follow);
@@ -519,7 +519,7 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
519 if (ofs > 0) { 519 if (ofs > 0) {
520 html("<li>"); 520 html("<li>");
521 cgit_log_link("[prev]", NULL, NULL, ctx.qry.head, 521 cgit_log_link("[prev]", NULL, NULL, ctx.qry.head,
522 ctx.qry.sha1, ctx.qry.vpath, 522 ctx.qry.oid, ctx.qry.vpath,
523 ofs - cnt, ctx.qry.grep, 523 ofs - cnt, ctx.qry.grep,
524 ctx.qry.search, ctx.qry.showmsg, 524 ctx.qry.search, ctx.qry.showmsg,
525 ctx.qry.follow); 525 ctx.qry.follow);
@@ -528,7 +528,7 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *pattern
528 if ((commit = get_revision(&rev)) != NULL) { 528 if ((commit = get_revision(&rev)) != NULL) {
529 html("<li>"); 529 html("<li>");
530 cgit_log_link("[next]", NULL, NULL, ctx.qry.head, 530 cgit_log_link("[next]", NULL, NULL, ctx.qry.head,
531 ctx.qry.sha1, ctx.qry.vpath, 531 ctx.qry.oid, ctx.qry.vpath,
532 ofs + cnt, ctx.qry.grep, 532 ofs + cnt, ctx.qry.grep,
533 ctx.qry.search, ctx.qry.showmsg, 533 ctx.qry.search, ctx.qry.showmsg,
534 ctx.qry.follow); 534 ctx.qry.follow);