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:
@ -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,
|
||||
|
||||
|
Reference in New Issue
Block a user