This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
remove unused db init on commands serv, update, hooks (
#5225
)
for-closed-social
Lunny Xiao
5 years ago
committed by
Lauris BH
parent
5fc0a12627
commit
0ba57949e4
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
cmd/hook.go
+ 0
- 1
cmd/hook.go
View File
@ -66,7 +66,6 @@ var (
func
hookSetup
(
logPath
string
)
{
setting
.
NewContext
(
)
log
.
NewGitLogger
(
filepath
.
Join
(
setting
.
LogRootPath
,
logPath
)
)
models
.
LoadConfigs
(
)
}
func
runHookPreReceive
(
c
*
cli
.
Context
)
error
{
Write
Preview
Loading…
Cancel
Save