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,
}
}