diff options
author | Lunny Xiao | 2021-06-26 19:28:55 +0800 |
---|---|---|
committer | GitHub | 2021-06-26 13:28:55 +0200 |
commit | e3c626834b34fae7728ee7869ed73ee4d1b26a26 (patch) | |
tree | ec61ea5376286a78622b95b7d849e8a299c85a28 /contrib | |
parent | e673e42f7efafb184ffbe84f6998087713d8e373 (diff) |
Let package git depend on setting but not opposite (#15241)
* Let package git depend on setting but not opposite
* private some package variables
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pr/checkout.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go index 9ce84f762..902c9ea62 100644 --- a/contrib/pr/checkout.go +++ b/contrib/pr/checkout.go @@ -26,6 +26,7 @@ import ( "time" "code.gitea.io/gitea/models" + gitea_git "code.gitea.io/gitea/modules/git" "code.gitea.io/gitea/modules/markup" "code.gitea.io/gitea/modules/markup/external" "code.gitea.io/gitea/modules/setting" @@ -79,7 +80,7 @@ func runPR() { setting.RunUser = curUser.Username log.Printf("[PR] Loading fixtures data ...\n") - setting.CheckLFSVersion() + gitea_git.CheckLFSVersion() //models.LoadConfigs() /* setting.Database.Type = "sqlite3" |