Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[info] diffview as git diff tool #544

Open
componhead opened this issue Dec 2, 2024 · 0 comments
Open

[info] diffview as git diff tool #544

componhead opened this issue Dec 2, 2024 · 0 comments

Comments

@componhead
Copy link

Is it possible to use diffview as a git difftool? Because when I try, with a working dir clean, git ask me the usual question on diffing the file but the diff is void. I use the configuration:

[diff]
	tool = nvimdiff
[difftool "nvimdiff"]
	cmd = "nvim -f -c \"DiffviewOpen\""

with git difftool HEAD..origin/master the diff is void but, with files in working dir (i.e.: after git reset --mixed HEAD^) the diffing works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant