1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-12 23:41:54 +03:00

pass repo to struct

This commit is contained in:
Jesse Duffield
2022-01-08 14:44:07 +11:00
parent fdf79fdeee
commit e4e521f58a
3 changed files with 8 additions and 2 deletions

View File

@ -22,10 +22,12 @@ type ConfigCommands struct {
func NewConfigCommands(
common *common.Common,
gitConfig git_config.IGitConfig,
repo *gogit.Repository,
) *ConfigCommands {
return &ConfigCommands{
Common: common,
gitConfig: gitConfig,
repo: repo,
}
}