diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-10-18 10:14:39 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-10-18 10:14:39 +0300 |
commit | c73eba077a0acf3e8e4586e579898f1996232e9f (patch) | |
tree | 0863b5a1463c92d06af5c33618ac6d51de90f397 /scripts | |
parent | 981f891c32e7a3beb98b40ca13d53be23b018ce5 (diff) | |
download | liw-automation-c73eba077a0acf3e8e4586e579898f1996232e9f.tar.gz |
Add review-patches
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/review-patches | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/review-patches b/scripts/review-patches new file mode 100755 index 0000000..5bb9f89 --- /dev/null +++ b/scripts/review-patches @@ -0,0 +1,15 @@ +#!/bin/sh + +set -eu + +tempdir="$(mktemp -d)" + +cleanup() +{ + rm -rf "$tempdir" +} + +trap cleanup EXIT + +git format-patch -o "$tempdir" master +less -S "$tempdir"/*.patch |