diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-10 07:46:26 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-10 07:46:26 +0100 |
commit | 3c17bf761a63310e3760980b07b003b4ba44e0e3 (patch) | |
tree | 68463c4da8d47c7af1109ac46c9b189d7dc8d819 /pkg/gui/gui.go | |
parent | 696d6dc20caa6a39529031287f33e2cb15093573 (diff) |
Better name for this function
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 d47913c32..f9cf16475 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -514,7 +514,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") && gui.canShowIsPrivateRepo() { + if err != nil && strings.Contains(err.Error(), "exit status 128") && gui.IsNewPrivateRepo() { gui.introAgree.Wait() _ = gui.createConfirmationPanel(g, g.CurrentView(), gui.Tr.SLocalize("NoAutomaticGitFetchTitle"), gui.Tr.SLocalize("NoAutomaticGitFetchBody"), nil, nil) } else { |