MyNixOS website logo
option

programs.difftastic.git.mode

How difftastic integrates with git.

  • "external": set diff.external so git diff uses difftastic by default.
  • "difftool": only configure difftastic as a git difftool (diff.tool and difftool.difftastic.cmd), leaving git diff untouched.
  • "both": configure both diff.external and the difftool.
Declarations
Type
one of "external", "difftool", "both"
Default
"external"
Example
"difftool"