diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-07 15:01:07 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-09 14:09:53 +1100 |
commit | 946a35b59de44094759fa177c0218837364c9dd7 (patch) | |
tree | 0d041c4690cd039dd0d9ffb4cfd1af1a41d99d9a /pkg/commands | |
parent | 007235df2355bfeacc206b78e9827fff529d32a2 (diff) |
remove OSCommand field
Diffstat (limited to 'pkg/commands')
-rw-r--r-- | pkg/commands/git.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/commands/git.go b/pkg/commands/git.go index 2f4c68fb8..2f38757f7 100644 --- a/pkg/commands/git.go +++ b/pkg/commands/git.go @@ -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, |