diff --git a/routers/private/serv.go b/routers/private/serv.go index f405d1d75..c2c6b656c 100644 --- a/routers/private/serv.go +++ b/routers/private/serv.go @@ -125,7 +125,7 @@ func ServCommand(ctx *macaron.Context) { return } } - + log.Info("git oper to this.") for _, verb := range ctx.QueryStrings("verb") { // clone_cnt if verb == "git-upload-pack" { go repo.IncreaseCloneCnt() diff --git a/routers/repo/http.go b/routers/repo/http.go index ed6276466..7a1670402 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -312,7 +312,7 @@ func HTTP(ctx *context.Context) { } environ = append(environ, models.ProtectedBranchRepoID+fmt.Sprintf("=%d", repo.ID)) - + log.Info("git oper to this 2.") if service == "git-upload-pack" { // clone_cnt go repo.IncreaseCloneCnt() }