home-manager icon indicating copy to clipboard operation
home-manager copied to clipboard

git: option to use difftastic as difftool (not main diff)

Open tennox opened this issue 3 months ago • 0 comments

Description

I want git diff to stay the same, but git difftool to use difftastic, as described in the difftastic docs: https://difftastic.wilfred.me.uk/git.html#regular-usage

Checklist

  • [x] Change is backwards compatible.

  • [x] Code formatted with ./format.

  • [x] Code tested through nix-shell --pure tests -A run.all or nix develop --ignore-environment .#all using Flakes.

  • [ ] Test cases updated/added. See example.

  • [x] Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • [ ] Added myself as module maintainer. See example.

Maintainer CC

@rycee

tennox avatar Apr 24 '24 19:04 tennox