Skip to content

Commit

Permalink
Git: Use diff-highlight everywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
StanAngeloff committed Mar 4, 2016
1 parent 4506922 commit 012f2fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitconfig
Expand Up @@ -40,7 +40,7 @@
br = branch -r
c = commit
co = checkout
df = !sh -c 'git diff -U5 --color --minimal --ignore-space-change --ignore-blank-lines --no-ext-diff "$0" "$@" | ~/bin/diff-highlight | less -iRS'
df = diff -U5 --color --minimal --ignore-space-change --ignore-blank-lines --no-ext-diff
eu = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; vim `f`"
f = fetch --prune --verbose
fa = fetch --all --prune --verbose
Expand All @@ -58,6 +58,10 @@
freeze = !bash -c '. $HOME/bin/git-freeze.sh && git-freeze'
thaw = !bash -c '. $HOME/bin/git-freeze.sh && git-thaw'

[pager]
diff = diff-highlight | less -iRS
show = diff-highlight | less -iRS

[push]
default = nothing # ${pushDefault}
recurseSubmodules = check
Expand Down

0 comments on commit 012f2fb

Please sign in to comment.