openocd/tools/checkpatch.sh

6 lines
99 B
Bash
Executable File

#!/bin/sh
#
since=${1:-HEAD^}
git format-patch -M --stdout $since | tools/scripts/checkpatch.pl -