Skip to content

External diff tools does not work when focusing on the diff of a file #4724

Closed
@Yu-zh

Description

@Yu-zh

Describe the bug
I'm using an external diff tool called patdiff following the instructions here: https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md#using-external-diff-commands. It works fine at the beginning as shown:

Image

However, when I press "Enter" on the file, the diff tool changes back to the original one:

Image

So I'm wondering whether this is expected behavior?

To Reproduce
See above

Expected behavior
I'm expecting the same diff tool to be used when I focus on a file

Screenshots
See above

Version info:
commit=, build date=, build source=homebrew, version=0.48.0, os=darwin, arch=arm64, git version=2.45.2

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