|
@@ -312,7 +312,7 @@ func HTTP(ctx *context.Context) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
environ = append(environ, models.ProtectedBranchRepoID+fmt.Sprintf("=%d", repo.ID)) |
|
|
environ = append(environ, models.ProtectedBranchRepoID+fmt.Sprintf("=%d", repo.ID)) |
|
|
|
|
|
|
|
|
|
|
|
log.Info("git oper to this 2.") |
|
|
if service == "git-upload-pack" { // clone_cnt |
|
|
if service == "git-upload-pack" { // clone_cnt |
|
|
go repo.IncreaseCloneCnt() |
|
|
go repo.IncreaseCloneCnt() |
|
|
} |
|
|
} |
|
|