summaryrefslogtreecommitdiffstats
path: root/tests/test_raw_output_matches_git_on_full_repo_history
blob: 8dcde90fbb264369bb37341f673315fbc31b45f4 (plain)
1
2
3
4
#!/bin/bash
DELTA="./target/release/delta --no-gitconfig --raw"
GIT_ARGS="log --patch --stat --numstat"
diff -u <(git $GIT_ARGS | perl -pe 's/\e\[[0-9;]*[mK]//g') <(git $GIT_ARGS | $DELTA | perl -pe 's/\e\[[0-9;]*[mK]//g')