aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorwxiaoguang2022-08-09 11:22:24 +0800
committerGitHub2022-08-09 11:22:24 +0800
commit75d96f4a0274c5b7566305d494c176e1a88b1589 (patch)
treed4dc134d9fea8f0f89f895e7bf30ec39146edf32 /contrib
parent820031e556af9548aa07e4de2669ca52bd7f63cb (diff)
Refactor legacy git init (#20376)
* merge `CheckLFSVersion` into `InitFull` (renamed from `InitWithSyncOnce`) * remove the `Once` during git init, no data-race now * for doctor sub-commands, `InitFull` should only be called in initialization stage Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pr/checkout.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go
index f6d29f3c5..65762a91e 100644
--- a/contrib/pr/checkout.go
+++ b/contrib/pr/checkout.go
@@ -80,7 +80,6 @@ func runPR() {
setting.RunUser = curUser.Username
log.Printf("[PR] Loading fixtures data ...\n")
- gitea_git.CheckLFSVersion()
//models.LoadConfigs()
/*
setting.Database.Type = "sqlite3"