Skip to content

Commit

Permalink
[IMP] git-diff-merge: prefer delta [1] over diff-so-fancy
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Apr 29, 2020
1 parent 304fca0 commit 9b8a296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-diff-merge
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -e

cd "${GIT_PREFIX:-.}"
git diff --cached "$@" | filterdiff -x '*.po' -x '*.pot' | colordiff | diff-so-fancy | awk '$0 != p || $0 ~ /^─+$/ { print $0 } { p=$0 }' | less --tabs=4 -RFX
git diff --cached "$@" | filterdiff -x '*.po' -x '*.pot' | delta --dark --theme=DarkNeon

0 comments on commit 9b8a296

Please sign in to comment.