aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html/html.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-07-12 17:03:27 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-07-13 17:06:20 +0200
commit7e94e6947b4e622cce1b149718c4030b5fb3f27d (patch)
tree74be72b8ff19a467e9aac8eaf9e2b79d6dd19b24 /pkg/html/html.go
parentdf4265465adfccfb96d35b0078d73bce8e16e4d7 (diff)
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.
Diffstat (limited to 'pkg/html/html.go')
-rw-r--r--pkg/html/html.go2
1 files changed, 1 insertions, 1 deletions
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
}