summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-05-13 06:54:29 +0300
committerLars Wirzenius <liw@liw.fi>2020-05-13 06:54:29 +0300
commit6cf7bd36ffd3ae134895b897662ebf3b18b9ee1e (patch)
tree4e4664b5fc9542c53827fab8bc4e9764f5f2c94f
parentd5ec8c19310cfe04148c0047bf4621132e1d99fb (diff)
downloadliw-automation-6cf7bd36ffd3ae134895b897662ebf3b18b9ee1e.tar.gz
feat: use colordiff when viewing patches
-rwxr-xr-xscripts/review-patches2
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 '