summaryrefslogtreecommitdiffstats
path: root/pkg/commands/commits.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-12-29 11:41:33 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-04 09:07:15 +1100
commit03b946cc8f9e94fe3fd53ac619ace2af2662aac2 (patch)
tree14dff36f8b3874dda80dd606403a83c212084e6b /pkg/commands/commits.go
parent18ab08612687b34ccfccd0b8d12d8d73e38b8857 (diff)
no more config in git command struct
Diffstat (limited to 'pkg/commands/commits.go')
-rw-r--r--pkg/commands/commits.go2
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))