1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

no more config in git command struct

This commit is contained in:
Jesse Duffield
2021-12-29 11:41:33 +11:00
parent 18ab086126
commit 03b946cc8f
17 changed files with 28 additions and 38 deletions

View File

@ -31,7 +31,6 @@ type GitCommand struct {
*common.Common
OSCommand *oscommands.OSCommand
Repo *gogit.Repository
Config config.AppConfigurer
DotGitDir string
onSuccessfulContinue func() error
PatchManager *patch.PatchManager
@ -75,7 +74,6 @@ func NewGitCommand(
Common: cmn,
OSCommand: osCommand,
Repo: repo,
Config: config,
DotGitDir: dotGitDir,
PushToCurrent: pushToCurrent,
GitConfig: gitConfig,