aboutsummaryrefslogtreecommitdiff
path: root/tools/checkpatch.sh
blob: e1dd267f9770b6f3eda0ed3c801a4778a9b929f8 (plain)
1
2
3
4
5
#!/bin/sh
#

since=${1:-HEAD^}
git format-patch -M --stdout $since | tools/scripts/checkpatch.pl - --no-tree