mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-10 20:05:50 +02:00
merge setup in function that create a new git command
This commit is contained in:
parent
9f7775df26
commit
43ad9a81c2
3 changed files with 211 additions and 99 deletions
6
main.go
6
main.go
|
@ -49,11 +49,5 @@ func main() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
if err := app.GitCommand.SetupGit(); err != nil {
|
||||
app.Log.Error(err.Error())
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
app.Gui.RunWithSubprocesses()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue