merge setup in function that create a new git command

This commit is contained in:
Anthony HAMON 2018-09-02 17:15:27 +02:00
parent 9f7775df26
commit 43ad9a81c2
3 changed files with 211 additions and 99 deletions

View file

@ -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()
}