mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 12:55:47 +02:00
start breaking up git struct
This commit is contained in:
parent
4a1d23dc27
commit
f503ff1ecb
76 changed files with 2234 additions and 1758 deletions
|
@ -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{})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue