summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-16 09:36:03 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-16 09:36:03 +1000
commit39bd87d59e20ba9f1841fb7c89544a81792371ba (patch)
treee4a2c0c8deb0de1ab22ab6d4dee1ec7de05553d3
parentfb61f7cb67b4d6708a109725d19414b093ebf9c8 (diff)
Remove redundant codegh-integration-3
-rw-r--r--pkg/gui/background.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkg/gui/background.go b/pkg/gui/background.go
index 8709bc76e..26e3b0f81 100644
--- a/pkg/gui/background.go
+++ b/pkg/gui/background.go
@@ -53,9 +53,6 @@ func (self *BackgroundRoutineMgr) startBackgroundFetch(refreshInterval int) {
self.gui.waitForIntro.Wait()
isNew := self.gui.IsNewRepo
- if !isNew {
- time.After(time.Second * time.Duration(refreshInterval))
- }
err := self.backgroundFetch()
if err != nil && strings.Contains(err.Error(), "exit status 128") && isNew {
_ = self.gui.c.Alert(self.gui.c.Tr.NoAutomaticGitFetchTitle, self.gui.c.Tr.NoAutomaticGitFetchBody)