mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-20 05:19:24 +02:00
limit commits in graph output for performance
This commit is contained in:
parent
7fb77418cc
commit
f11edda6a2
@ -332,7 +332,7 @@ func sublimeOpenFile(filename string) (string, error) {
|
||||
}
|
||||
|
||||
func getBranchGraph(branch string, baseBranch string) (string, error) {
|
||||
return runCommand("git log --graph --color --abbrev-commit --decorate --date=relative --pretty=medium " + branch)
|
||||
return runCommand("git log --graph --color --abbrev-commit --decorate --date=relative --pretty=medium -100 " + branch)
|
||||
|
||||
// Leaving this guy commented out in case there's backlash from the design
|
||||
// change and I want to make this configurable
|
||||
|
Loading…
x
Reference in New Issue
Block a user