diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-12-29 11:41:33 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-04 09:07:15 +1100 |
commit | 03b946cc8f9e94fe3fd53ac619ace2af2662aac2 (patch) | |
tree | 14dff36f8b3874dda80dd606403a83c212084e6b /pkg/commands/commits.go | |
parent | 18ab08612687b34ccfccd0b8d12d8d73e38b8857 (diff) |
no more config in git command struct
Diffstat (limited to 'pkg/commands/commits.go')
-rw-r--r-- | pkg/commands/commits.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/commits.go b/pkg/commands/commits.go index 269eef073..447e9adb8 100644 --- a/pkg/commands/commits.go +++ b/pkg/commands/commits.go @@ -66,7 +66,7 @@ func (c *GitCommand) AmendHeadCmdObj() oscommands.ICmdObj { } func (c *GitCommand) ShowCmdObj(sha string, filterPath string) oscommands.ICmdObj { - contextSize := c.Config.GetUserConfig().Git.DiffContextSize + contextSize := c.UserConfig.Git.DiffContextSize filterPathArg := "" if filterPath != "" { filterPathArg = fmt.Sprintf(" -- %s", c.OSCommand.Quote(filterPath)) |