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

remove OSCommand field

This commit is contained in:
Jesse Duffield
2022-01-07 15:01:07 +11:00
parent 007235df23
commit 946a35b59d
4 changed files with 4 additions and 6 deletions

View File

@ -21,7 +21,6 @@ import (
// GitCommand is our main git interface
type GitCommand struct {
*common.Common
OSCommand *oscommands.OSCommand
Repo *gogit.Repository
@ -122,8 +121,7 @@ func NewGitCommandAux(
patchCommands := NewPatchCommands(cmn, cmd, rebaseCommands, commitCommands, configCommands, statusCommands, patchManager)
return &GitCommand{
Common: cmn,
OSCommand: osCommand,
Common: cmn,
Repo: repo,