summaryrefslogtreecommitdiffstats
path: root/modules/git/last_commit_cache_nogogit.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/last_commit_cache_nogogit.go')
-rw-r--r--modules/git/last_commit_cache_nogogit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/git/last_commit_cache_nogogit.go b/modules/git/last_commit_cache_nogogit.go
index faf6e23fa8..f71e7350a1 100644
--- a/modules/git/last_commit_cache_nogogit.go
+++ b/modules/git/last_commit_cache_nogogit.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
+//go:build !gogit
// +build !gogit
package git