config: remove Config global
This commit is contained in:
parent
fc7de146b0
commit
b184b1ce4c
@ -62,7 +62,7 @@ func Run() {
|
||||
root.SetHelpFunc(helpCommand)
|
||||
root.SetUsageFunc(usageCommand)
|
||||
|
||||
cfg = config.Config
|
||||
cfg = config.New()
|
||||
|
||||
for _, f := range commandFuncs {
|
||||
if cmd := f(); cmd != nil {
|
||||
|
@ -13,7 +13,6 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
Config = New()
|
||||
ShowConfigWarnings = false
|
||||
defaultRemote = "origin"
|
||||
gitConfigWarningPrefix = "lfs."
|
||||
|
Loading…
Reference in New Issue
Block a user