blob: 667cbd6894967a84aad399ba46c30862b61fd990 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
# if first arg provided, use it, otherwise default to release
DELTA_BIN=${1:=./target/release/delta}
DELTA="$DELTA_BIN --no-gitconfig --raw --max-line-length 0"
ANSIFILTER="./etc/bin/ansifilter"
GIT_ARGS="log --patch --stat --numstat"
diff -u <(git $GIT_ARGS | $ANSIFILTER) <(git $GIT_ARGS | $DELTA | $ANSIFILTER)
|