diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-05-13 06:54:29 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-05-13 06:54:29 +0300 |
commit | 6cf7bd36ffd3ae134895b897662ebf3b18b9ee1e (patch) | |
tree | 4e4664b5fc9542c53827fab8bc4e9764f5f2c94f | |
parent | d5ec8c19310cfe04148c0047bf4621132e1d99fb (diff) | |
download | liw-automation-6cf7bd36ffd3ae134895b897662ebf3b18b9ee1e.tar.gz |
feat: use colordiff when viewing patches
-rwxr-xr-x | scripts/review-patches | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/review-patches b/scripts/review-patches index d7547d0..cd4a77e 100755 --- a/scripts/review-patches +++ b/scripts/review-patches @@ -12,4 +12,4 @@ cleanup() trap cleanup EXIT git format-patch -o "$tempdir" ${1:-master} -less -S "$tempdir"/*.patch +cat "$tempdir"/*.patch | colordiff | less -RS '+/^From ' |