summaryrefslogtreecommitdiffstats
path: root/pkg/commands/sync.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-10-03 14:54:55 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-10-10 00:23:01 +1100
commit4912205adb5e8e245b33b8e0d5581bcf0ec37e8a (patch)
tree90e28657c0af72cd0a880842f88750c01a32834d /pkg/commands/sync.go
parent9440dcf9de3214927125693e512cdc941ca4e123 (diff)
remove viper
WIP
Diffstat (limited to 'pkg/commands/sync.go')
-rw-r--r--pkg/commands/sync.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/sync.go b/pkg/commands/sync.go
index 1321af2d3..96d0480b4 100644
--- a/pkg/commands/sync.go
+++ b/pkg/commands/sync.go
@@ -8,7 +8,7 @@ import (
// usingGpg tells us whether the user has gpg enabled so that we can know
// whether we need to run a subprocess to allow them to enter their password
func (c *GitCommand) usingGpg() bool {
- overrideGpg := c.Config.GetUserConfig().GetBool("git.overrideGpg")
+ overrideGpg := c.Config.GetUserConfig().Git.OverrideGpg
if overrideGpg {
return false
}