aboutsummaryrefslogtreecommitdiff
path: root/refstore/shorten.go
diff options
context:
space:
mode:
Diffstat (limited to 'refstore/shorten.go')
-rw-r--r--refstore/shorten.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/refstore/shorten.go b/refstore/shorten.go
index 250ab01f..ae20a52e 100644
--- a/refstore/shorten.go
+++ b/refstore/shorten.go
@@ -7,6 +7,7 @@ type shortenRule struct {
suffix string
}
+//nolint:gochecknoglobals
var shortenRules = [...]shortenRule{
{prefix: "", suffix: ""},
{prefix: "refs/", suffix: ""},