summaryrefslogtreecommitdiffstats
path: root/modules/git
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-04-15 20:40:39 +0300
committerGitHub <noreply@github.com>2020-04-15 20:40:39 +0300
commit4dc62dadce42edfaa74d2e21164afa1693db0dd8 (patch)
treefd7d0040950920b3ddcd5aad7e903f759579f138 /modules/git
parent7a67bcc2048d54eb5a9ae9fbc82170f74071e92c (diff)
downloadgitea-4dc62dadce42edfaa74d2e21164afa1693db0dd8.tar.gz
gitea-4dc62dadce42edfaa74d2e21164afa1693db0dd8.zip
Migrate to go-enry new version (#10906)
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/repo_language_stats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_language_stats.go b/modules/git/repo_language_stats.go
index d18ae02d8b..ba58bcc2da 100644
--- a/modules/git/repo_language_stats.go
+++ b/modules/git/repo_language_stats.go
@@ -12,10 +12,10 @@ import (
"code.gitea.io/gitea/modules/analyze"
+ "github.com/go-enry/go-enry/v2"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/object"
- "github.com/src-d/enry/v2"
)
const fileSizeLimit int64 = 16 * 1024 * 1024