Add improved interactive git diff highlights

master
Jordan Atwood 2 years ago
parent ea91d385d4
commit 42c3da7c38
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 6
      src/.gitconfig

@ -61,6 +61,12 @@
[include] [include]
# Define system-specific user configs such as GPG signing key # Define system-specific user configs such as GPG signing key
path = ~/.user.gitconfig path = ~/.user.gitconfig
[interactive]
# Build or install `diff-highlight` to some $PATH present location for
# improved interactive diff highlights. Falls back on plain `core.pager` if
# not present.
# See: https://git.kernel.org/pub/scm/git/git.git/tree/contrib/diff-highlight/README
diffFilter = ((type diff-highlight >/dev/null 2>&1 && diff-highlight) || $(git config core.pager))
[log] [log]
follow = true follow = true
[pager] [pager]

Loading…
Cancel
Save