diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-06 22:05:16 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-06 22:05:16 +0100 |
commit | ced81e11f048a954b707996d78487e3a6cabd569 (patch) | |
tree | dd159e14e73178b37bf5062f2f2e4b4e660a2173 /pkg/gui/gui.go | |
parent | 6d0fa8bc2926af9c17c7546c447613ae21ef19fc (diff) |
Only show private repo popup when opening repo for first time
Diffstat (limited to 'pkg/gui/gui.go')
-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 aab73e738..e3d80df12 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -443,7 +443,7 @@ func (gui *Gui) Run() error { go func() { err := gui.fetch(g, g.CurrentView(), false) - if err != nil && strings.Contains(err.Error(), "exit status 128") { + if err != nil && strings.Contains(err.Error(), "exit status 128") && gui.canShowIsPrivateRepo() { _ = gui.createConfirmationPanel(g, g.CurrentView(), gui.Tr.SLocalize("NoAutomaticGitFetchTitle"), gui.Tr.SLocalize("NoAutomaticGitFetchBody"), nil, nil) } else { gui.goEvery(g, time.Second*60, func(g *gocui.Gui) error { |