diff options
author | matejcik <ja@matejcik.cz> | 2019-08-06 14:47:24 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-09-08 11:20:15 +1000 |
commit | 600112780cf7c6ea7a657799f43a7b433cd3c211 (patch) | |
tree | a781cdff7ee5189b875b3127315e251e11034a0d | |
parent | 4c73c8889f2c6959319b85a43ba4d708deea6403 (diff) |
use git.autoFetch config option
-rw-r--r-- | pkg/gui/gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 1278411de..20c247fa1 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -660,7 +660,7 @@ func (gui *Gui) Run() error { gui.waitForIntro.Add(1) } - if gui.Config.GetUserConfig().GetBool("gui.git.autoFetch") { + if gui.Config.GetUserConfig().GetBool("git.autoFetch") { go gui.startBackgroundFetch() } gui.goEvery(time.Second*10, gui.refreshFiles) |