From a9007a8ccb8f779524027804cd6c991546e0ac57 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 21 Mar 2019 14:24:10 +0100 Subject: [PATCH] pkg/html: add reference for 12-char hashes in tags --- pkg/html/html.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/html/html.go b/pkg/html/html.go index 1c48f6d510b..c023437bb8f 100644 --- a/pkg/html/html.go +++ b/pkg/html/html.go @@ -144,7 +144,8 @@ func formatShortHash(v string) string { } func formatTagHash(v string) string { - // Note: Fixes/References commit tags should include 12-char hash. Don't change this const. + // Note: Fixes/References commit tags should include 12-char hash + // (see Documentation/process/submitting-patches.rst). Don't change this const. const hashLen = 12 if len(v) <= hashLen { return v