summaryrefslogtreecommitdiff
path: root/scripts/review-patches
blob: 5bb9f8943605173165831c4209404a5fe6124993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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