mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-04 23:37:41 +02:00
use git.autoFetch config option
This commit is contained in:
parent
4c73c8889f
commit
600112780c
@ -660,7 +660,7 @@ func (gui *Gui) Run() error {
|
|||||||
gui.waitForIntro.Add(1)
|
gui.waitForIntro.Add(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
if gui.Config.GetUserConfig().GetBool("gui.git.autoFetch") {
|
if gui.Config.GetUserConfig().GetBool("git.autoFetch") {
|
||||||
go gui.startBackgroundFetch()
|
go gui.startBackgroundFetch()
|
||||||
}
|
}
|
||||||
gui.goEvery(time.Second*10, gui.refreshFiles)
|
gui.goEvery(time.Second*10, gui.refreshFiles)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user