feat(git): use difftastic as diff viewer

This commit is contained in:
Michael Mandl 2022-07-07 09:25:17 +02:00
parent 29af43eb76
commit e7711fe634
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
2 changed files with 7 additions and 0 deletions

View file

@ -22,6 +22,12 @@
rebase.autostash = true;
rerere.enabled = true;
worktree.guessRemote = true;
diff.external = "difft --background light";
diff.tool = "difftastic";
difftool.prompt = false;
difftool.difftastic.cmd = "difft --background light \"$LOCAL\" \"$REMOTE\"";
pager.difftool = true;
};
aliases = {

View file

@ -26,6 +26,7 @@
tree
light
element-desktop
difftastic
];
stateVersion = "22.05";