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

How to make difft the default git log tool? #254

Open
gunar opened this issue Apr 14, 2022 · 1 comment
Open

How to make difft the default git log tool? #254

gunar opened this issue Apr 14, 2022 · 1 comment

Comments

@gunar
Copy link

gunar commented Apr 14, 2022

Hi, difftastic looks... well, fantastic! I've just installed it and am playing around.

Now, basically I want difftastic to handle git show and git log -p automatically—besides just git diff.

  • I've managed to get git diff to use difftastic with the following .gitconfig
  • And it works with git log -p --ext-diff too
  • But how can I get rid of the --ext-diff argument and always use difftastic by default?

Thanks in advance,
Gunar


[diff]
  tool = difft
  external = difft
[difftool]
  prompt = false
[difftool "difftastic"]
  cmd = difft "$LOCAL" "$REMOTE"
[pager]
  difftool = true
# `git dft` is less to type than `git difftool`.
[alias]
  dft = difftool
@Xuanwo
Copy link
Contributor

Xuanwo commented May 11, 2022

Related to #280

Wilfred pushed a commit that referenced this issue Jun 13, 2023
Wilfred pushed a commit that referenced this issue Feb 13, 2024
fix: conditional_type should be right-associative
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

2 participants