mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
start breaking up git struct
This commit is contained in:
@ -3,6 +3,7 @@ package utils
|
||||
import (
|
||||
"io/ioutil"
|
||||
|
||||
"github.com/jesseduffield/lazygit/pkg/commands/git_config"
|
||||
"github.com/jesseduffield/lazygit/pkg/common"
|
||||
"github.com/jesseduffield/lazygit/pkg/config"
|
||||
"github.com/jesseduffield/lazygit/pkg/i18n"
|
||||
@ -24,3 +25,7 @@ func NewDummyCommon() *common.Common {
|
||||
UserConfig: config.GetDefaultConfig(),
|
||||
}
|
||||
}
|
||||
|
||||
func NewDummyGitConfig() git_config.IGitConfig {
|
||||
return git_config.NewFakeGitConfig(map[string]string{})
|
||||
}
|
||||
|
Reference in New Issue
Block a user