1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-05 15:15:49 +02:00

use git.autoFetch config option

This commit is contained in:
matejcik 2019-08-06 14:47:24 +02:00 committed by Jesse Duffield
parent 4c73c8889f
commit 600112780c

View File

@ -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)