mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
fixup
This commit is contained in:
parent
2d4801c39d
commit
b541987007
2 changed files with 1 additions and 2 deletions
|
@ -180,7 +180,7 @@ func genericFileOpen(g *gocui.Gui, v *gocui.View, open func(*gocui.Gui, string)
|
|||
}
|
||||
return nil
|
||||
}
|
||||
if output, err := open(file.Name); err != nil {
|
||||
if output, err := open(g, file.Name); err != nil {
|
||||
return createErrorPanel(g, output)
|
||||
}
|
||||
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) {
|
||||
return runCommand("git log --graph --color --abbrev-commit --decorate --date=relative --pretty=medium -100 " + branch)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue