tools: add checkpatch script
[openocd/ntfreak.git] / tools / checkpatch.sh
blob33b6dfc1734ee6e18ef0bf7b832971af1cd914f4
1 #!/bin/sh
4 git format-patch -M --stdout HEAD^ | tools/scripts/checkpatch.pl - --no-tree