diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 21:08:33 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 5ce9e0193a47692d38a2b2aa549630458ccf3038 (patch) | |
tree | 205d9730e521e566123669035bc0c05e536ad1dd /pkg/commands/config.go | |
parent | 4c71c26593e76e34bafcb7df717e53204b522da5 (diff) |
add retry logic for running git commands to avoid index.lock problems
Diffstat (limited to 'pkg/commands/config.go')
-rw-r--r-- | pkg/commands/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/config.go b/pkg/commands/config.go index f22d72ffa..0bb310e6d 100644 --- a/pkg/commands/config.go +++ b/pkg/commands/config.go @@ -15,7 +15,7 @@ func (c *GitCommand) ConfiguredPager() string { if os.Getenv("PAGER") != "" { return os.Getenv("PAGER") } - output, err := c.OSCommand.RunCommandWithOutput("git config --get-all core.pager") + output, err := c.RunCommandWithOutput("git config --get-all core.pager") if err != nil { return "" } |