diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-06-28 15:00:42 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-06-28 15:36:16 -0400 |
commit | 5d4b8f51a949806b20b133dde0faeaaf35a0efd5 (patch) | |
tree | 0bf86ce30cd3ef2bf79760678d1e7d88fe7d5aed /tests/test_raw_output_matches_git_on_full_repo_history | |
parent | e0c07a77323bad71d82043f1418d2538ade5a7e3 (diff) |
Rename option: color-only => raw
Diffstat (limited to 'tests/test_raw_output_matches_git_on_full_repo_history')
-rwxr-xr-x | tests/test_raw_output_matches_git_on_full_repo_history | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_raw_output_matches_git_on_full_repo_history b/tests/test_raw_output_matches_git_on_full_repo_history new file mode 100755 index 00000000..8dcde90f --- /dev/null +++ b/tests/test_raw_output_matches_git_on_full_repo_history @@ -0,0 +1,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') |