From 7e94e6947b4e622cce1b149718c4030b5fb3f27d Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 12 Jul 2021 17:03:27 +0000 Subject: all: make all kernel commit hashes 12 byte long Currently email and web templates use 8 byte representation of commit hashes. While this is enough for syzkaller, it becomes less and less suitable for Linux kernel tags. Switch to 12 byte representation for all Linux kernel commit hash mentions. --- pkg/html/html.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/html/html.go') diff --git a/pkg/html/html.go b/pkg/html/html.go index 6f3779261..6d24ba7e7 100644 --- a/pkg/html/html.go +++ b/pkg/html/html.go @@ -170,7 +170,7 @@ func formatTagHash(v string) string { func formatCommitTableTitle(v string) string { // This function is very specific to how we format tables in text emails. // Truncate commit title so that whole line fits into 78 chars. - const commitTitleLen = 51 + const commitTitleLen = 47 if len(v) <= commitTitleLen { return v } -- cgit mrf-deployment