mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
Format, bug fixes
This commit is contained in:
parent
bdb0b9ae6e
commit
b9b2f58bc8
@ -229,7 +229,7 @@ func (app *App) setupRepo() (bool, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if isBare {
|
if isBare {
|
||||||
log.Println(app.Tr.BareRepo)
|
fmt.Print(app.Tr.BareRepo)
|
||||||
response, _ := bufio.NewReader(os.Stdin).ReadString('\n')
|
response, _ := bufio.NewReader(os.Stdin).ReadString('\n')
|
||||||
shouldOpenRecent := strings.Trim(response, " \r\n") == "y"
|
shouldOpenRecent := strings.Trim(response, " \r\n") == "y"
|
||||||
|
|
||||||
@ -245,6 +245,8 @@ func (app *App) setupRepo() (bool, error) {
|
|||||||
fmt.Println(app.Tr.NoRecentRepositories)
|
fmt.Println(app.Tr.NoRecentRepositories)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user