the repository which powers this website
Diffstat (limited to 'themed/log.html')
| -rw-r--r-- | themed/log.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/themed/log.html b/themed/log.html index 4a26a53e..deac76ca 100644 --- a/themed/log.html +++ b/themed/log.html @@ -36,10 +36,9 @@ </div> </div> <div class="px-3 py-2 border-t border-gray-300 flex items-center"> - {! char short_commit_id[8]; !} - {! memcpy(short_commit_id, oid_to_hex(&commit->object.oid), 7); !} - {! short_commit_id[7] = '\0'; !} - <a href="{! cgit_shared_repolink_url_with_delimiter("commit", ctx.qry.head, ctx.qry.vpath); !}id={{ oid_to_hex(&commit->object.oid) }}" class="text-sm font-mono text-gray-500 hover:text-blue-600 hover:underline">{{ short_commit_id }}</a> + <a href="{! cgit_shared_repolink_url_with_delimiter("commit", ctx.qry.head, ctx.qry.vpath); !}id={{ oid_to_hex(&commit->object.oid) }}" class="text-sm font-mono text-gray-500 hover:text-blue-600 hover:underline"> + {! short_commit_id(oid_to_hex(&commit->object.oid)); !} + </a> </div> <div class="px-3 py-2 border-t border-gray-300 flex items-center"> <a href="{! cgit_shared_repolink_url_with_delimiter("tree", ctx.qry.head, ctx.qry.vpath); !}id={{ oid_to_hex(&commit->object.oid) }}" class="text-gray-500 hover:text-blue-600"> |