From 7fbddc95e0a845241762c631c83c463fdbf66801 Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 8 Dec 2021 09:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=95=8C=E9=9D=A2=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E4=B9=9F=E5=AF=B9=E7=9C=9F=E5=AE=9E=E7=9A=84git=20clo?= =?UTF-8?q?ne=E6=AC=A1=E6=95=B0=E5=8A=A01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/repo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 437521d5a..a182e9087 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -532,6 +532,7 @@ func Download(ctx *context.Context) { } ctx.Repo.Repository.IncreaseCloneCnt() + ctx.Repo.Repository.IncreaseGitCloneCnt() ctx.ServeFile(archivePath, ctx.Repo.Repository.Name+"-"+refName+ext) }