1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00
This commit is contained in:
Jesse Duffield
2021-11-02 21:33:22 +11:00
parent 308a3b51b3
commit 06ca71e955
5 changed files with 11 additions and 7 deletions

View File

@ -57,6 +57,9 @@ func GetCommitListDisplayStrings(
pipeSetCache[cacheKey] = pipeSets
}
if startIdx > len(commits) {
return nil
}
end := startIdx + length
if end > len(commits)-1 {
end = len(commits) - 1