config: remove Config global

This commit is contained in:
rick olson 2017-10-24 13:48:51 -06:00
parent fc7de146b0
commit b184b1ce4c
2 changed files with 1 additions and 2 deletions

@ -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."