This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
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
#2008
more supported git hooks
tags/v1.21.12.1
Unknwon
10 years ago
parent
21ad4bf0fe
commit
56c66ee486
3 changed files
with
13 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
gogs.go
+11
-3
modules/git/hooks.go
+1
-1
templates/.VERSION
+ 1
- 1
gogs.go
View File
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.7.21.112
3
Beta"
const APP_VER = "0.7.21.112
4
Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
+ 11
- 3
modules/git/hooks.go
View File
@@ -16,15 +16,23 @@ import (
// hookNames is a list of Git hooks' name that are supported.
var hookNames = []string{
"pre-applypatch",
"applypatch-msg",
"pre-applypatch",
"post-applypatch",
"pre-commit",
"prepare-commit-msg",
"commit-msg",
"pre-commit",
"pre-rebase",
"post-commit",
"pre-rebase",
"post-checkout",
"post-merge",
"pre-push",
// "update",
"post-receive",
"post-update",
"push-to-checkout",
"pre-auto-gc",
"post-rewrite",
}
var (
+ 1
- 1
templates/.VERSION
View File
@@ -1 +1 @@
0.7.21.112
3
Beta
0.7.21.112
4
Beta
Write
Preview
Loading…
Cancel
Save