mirror of
https://git.zx2c4.com/cgit
synced 2025-07-30 23:55:28 +02:00
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>
This commit is contained in:
parent
629659d2cf
commit
779631c6dc
13 changed files with 66 additions and 66 deletions
6
ui-tag.c
6
ui-tag.c
|
@ -33,7 +33,7 @@ static void print_tag_content(char *buf)
|
|||
|
||||
static void print_download_links(char *revname)
|
||||
{
|
||||
html("<tr><th>download</th><td class='sha1'>");
|
||||
html("<tr><th>download</th><td class='oid'>");
|
||||
cgit_print_snapshot_links(ctx.repo, revname, "<br/>");
|
||||
html("</td></tr>");
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ void cgit_print_tag(char *revname)
|
|||
cgit_close_filter(ctx.repo->email_filter);
|
||||
html("</td></tr>\n");
|
||||
}
|
||||
html("<tr><td>tagged object</td><td class='sha1'>");
|
||||
html("<tr><td>tagged object</td><td class='oid'>");
|
||||
cgit_object_link(tag->tagged);
|
||||
html("</td></tr>\n");
|
||||
if (ctx.repo->snapshots)
|
||||
|
@ -106,7 +106,7 @@ void cgit_print_tag(char *revname)
|
|||
html("<tr><td>tag name</td><td>");
|
||||
html_txt(revname);
|
||||
html("</td></tr>\n");
|
||||
html("<tr><td>tagged object</td><td class='sha1'>");
|
||||
html("<tr><td>tagged object</td><td class='oid'>");
|
||||
cgit_object_link(obj);
|
||||
html("</td></tr>\n");
|
||||
if (ctx.repo->snapshots)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue