diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-05-14 22:22:10 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-05-14 22:22:10 +0200 |
| commit | 5b39620b3d1a05d6e1d04fe4851779c46e1b34d9 (patch) | |
| tree | 51f8f1c4372bd27ffff1e89785fe0b502ee593b0 /.gitconfig | |
| parent | 402d070bd16b59d0464b41ec3bf48883d82a4c9a (diff) | |
| download | dotfiles-5b39620b3d1a05d6e1d04fe4851779c46e1b34d9.tar.gz dotfiles-5b39620b3d1a05d6e1d04fe4851779c46e1b34d9.zip | |
git: Add difftastic as an external diff tool
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.gitconfig')
| -rw-r--r-- | .gitconfig | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -66,8 +66,31 @@ [column] ui = auto +## +# git send-email + [sendemail] smtpEncryption = tls smtpServer = smtp.gmail.com smtpUser = mikisabate@gmail.com smtpServerPort = 587 + +## +# Use difftastic. + +[difftool] + # Run the difftool immediately, don't ask 'are you sure' each time. + prompt = false + +[pager] + # Use a pager if the difftool output is larger than one screenful, + # consistent with the behaviour of `git diff`. + difftool = true + +[diff] + # Use `difft` by default. + external = difft + + # Set difftastic as the default difftool, so we don't need to specify + # `-t difftastic` every time. + tool = difftastic |
