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

Allow using git difftool instead of git diff #2532

Open
mkurz opened this issue Nov 14, 2024 · 0 comments
Open

Allow using git difftool instead of git diff #2532

mkurz opened this issue Nov 14, 2024 · 0 comments
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request

Comments

@mkurz
Copy link
Contributor

mkurz commented Nov 14, 2024

Is your feature request related to a problem? Please describe.

I'm always frustrated when I can not use git difftool but only git diff.

Describe the solution you'd like

I want the diffs displayed using git difftool.

Additional context

You hardcoded git diff here (maybe other places too, not sure):

args := []string{
"diff",
start + "..HEAD@{upstream}", "--src-prefix",
dir + "/", "--dst-prefix", dir + "/", "--", ".", ":(exclude).SRCINFO",

Would be nice if there would be a (global) config and a yay command line flag to set/choose if to use diff or difftool.

Thanks!

@mkurz mkurz added Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant