From c18d8d6968cb175703942631f0094ffb415f51f4 Mon Sep 17 00:00:00 2001
From: wxiaoguang <wxiaoguang@gmail.com>
Date: Mon, 2 May 2022 23:22:45 +0800
Subject: Remove legacy `+build:` constraint (#19582)

Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
---
 modules/git/sha1_nogogit.go | 1 -
 1 file changed, 1 deletion(-)

(limited to 'modules/git/sha1_nogogit.go')

diff --git a/modules/git/sha1_nogogit.go b/modules/git/sha1_nogogit.go
index 53665fc921..1835c68f5a 100644
--- a/modules/git/sha1_nogogit.go
+++ b/modules/git/sha1_nogogit.go
@@ -4,7 +4,6 @@
 // license that can be found in the LICENSE file.
 
 //go:build !gogit
-// +build !gogit
 
 package git
 
-- 
cgit v1.2.3