1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Better name for this function

This commit is contained in:
mjarkk
2018-12-10 07:46:26 +01:00
parent 696d6dc20c
commit 3c17bf761a
2 changed files with 3 additions and 3 deletions

View File

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