1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Case insensitive string comparison

This commit is contained in:
Jesse Duffield
2023-05-27 20:38:37 +10:00
parent 13326344f0
commit bf5871cc4f
5 changed files with 97 additions and 57 deletions

View File

@ -32,7 +32,6 @@ func NewWorkingTreeContext(c *ContextCommon) *WorkingTreeContext {
)
getDisplayStrings := func(startIdx int, length int) [][]string {
c.Log.Warn("in get display strings")
lines := presentation.RenderFileTree(viewModel, c.Modes().Diffing.Ref, c.Model().Submodules)
return slices.Map(lines, func(line string) []string {
return []string{line}