mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-23 00:39:13 +02:00
WIP
This commit is contained in:
@ -32,11 +32,9 @@ func (gui *Gui) branchesRenderToMain() error {
|
||||
if branch == nil {
|
||||
task = NewRenderStringTask(gui.Tr.NoBranchesThisRepo)
|
||||
} else {
|
||||
cmd := gui.OSCommand.ExecutableFromString(
|
||||
gui.GitCommand.GetBranchGraphCmdStr(branch.Name),
|
||||
)
|
||||
cmdObj := gui.GitCommand.GetBranchGraphCmdObj(branch.Name)
|
||||
|
||||
task = NewRunPtyTask(cmd)
|
||||
task = NewRunPtyTask(cmdObj.GetCmd())
|
||||
}
|
||||
|
||||
return gui.refreshMainViews(refreshMainOpts{
|
||||
|
Reference in New Issue
Block a user