mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
limit commits in graph output for performance
This commit is contained in:
parent
7fb77418cc
commit
f11edda6a2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue