mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
fixup
This commit is contained in:
@ -180,7 +180,7 @@ func genericFileOpen(g *gocui.Gui, v *gocui.View, open func(*gocui.Gui, string)
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if output, err := open(file.Name); err != nil {
|
if output, err := open(g, file.Name); err != nil {
|
||||||
return createErrorPanel(g, output)
|
return createErrorPanel(g, output)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
@ -384,7 +384,6 @@ func runSubProcess(g *gocui.Gui, cmdName string, commandArgs ...string) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func getBranchDiff(branch string, baseBranch string) (string, error) {
|
|
||||||
func getBranchGraph(branch string, baseBranch string) (string, error) {
|
func getBranchGraph(branch string, baseBranch string) (string, error) {
|
||||||
return runCommand("git log --graph --color --abbrev-commit --decorate --date=relative --pretty=medium -100 " + branch)
|
return runCommand("git log --graph --color --abbrev-commit --decorate --date=relative --pretty=medium -100 " + branch)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user