mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 13:45:37 +00:00
use built-in git diff highlight by default
This commit is contained in:
parent
3403924105
commit
ec09db42e6
@ -28,6 +28,10 @@ in {
|
|||||||
userName = config.gitName;
|
userName = config.gitName;
|
||||||
userEmail = config.gitEmail;
|
userEmail = config.gitEmail;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
core.pager =
|
||||||
|
"${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight | less -F";
|
||||||
|
interactive.difffilter =
|
||||||
|
"${pkgs.git}/share/git/contrib/diff-highlight/diff-highlight";
|
||||||
pager = { branch = "false"; };
|
pager = { branch = "false"; };
|
||||||
safe = { directory = config.dotfilesPath; };
|
safe = { directory = config.dotfilesPath; };
|
||||||
pull = { ff = "only"; };
|
pull = { ff = "only"; };
|
||||||
|
Loading…
Reference in New Issue
Block a user