Skip to content

Delta as pager is much slower after 0.41.0 #3473

@ptim

Description

@ptim

Describe the bug

Amazing release, thanks!

I have delta configured as my pager, and it's now very slow - it takes nearly a second for the diff pane to update with each new diff.

Workaround: Reverting to the built in pager restores performance

To Reproduce

  • configure delta as below
  • navigate between changed files in the File tab
# ~/Library/Application\ Support/lazygit/config.yml

git:
  paging:
    pager: delta --paging=never
    colorArg: always
# ~/.gitconfig

[delta]
  navigate = true
  line-numbers = true
  features = zebra-dark

Expected behavior

Snappy diffs in delta, like before :)

Version info:

commit=, build date=, build source=homebrew, version=0.41.0, os=darwin, arch=arm64, git version=2.39.3 (Apple Git-145)

git version 2.39.3 (Apple Git-145)

Additional context

I ran lazygit --debug in one terminal panel and lazygit --logs in another,
but didn't see any logs when changing the focussed file in the Files pane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions