This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
增加打印信息
Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1036/head
zouap
3 years ago
parent
2e6ff48489
commit
18c60d38ab
2 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
routers/private/serv.go
+1
-1
routers/repo/http.go
+ 1
- 1
routers/private/serv.go
View File
@@ -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()
+ 1
- 1
routers/repo/http.go
View File
@@ -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()
}
Write
Preview
Loading…
Cancel
Save