diff options
author | Christian Hesse <mail@eworm.de> | 2020-10-20 23:32:45 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-10-20 23:57:12 +0200 |
commit | 779631c6dc23c15bbbf45a7c7ab9fffb619037b7 (patch) | |
tree | 99ddcae06134e97ef490fb1a4c9f6ab095ca5052 /ui-tag.c | |
parent | 629659d2cffbf059374fc53e6400ff0bebe1ddde (diff) | |
download | cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.tar.gz cgit-779631c6dc23c15bbbf45a7c7ab9fffb619037b7.tar.bz2 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-tag.c')
-rw-r--r-- | ui-tag.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |