mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
execute from openocd root dir after commiting change but before pushing to gerrit. tools/checkpatch.sh This is the same script used by the jenkins build server to validate a change. Change-Id: Ib40d44b160e1c50a5e47ab55fc48a554381ea763 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/167 Tested-by: jenkins
5 lines
90 B
Bash
5 lines
90 B
Bash
#!/bin/sh
|
|
#
|
|
|
|
git format-patch -M --stdout HEAD^ | tools/scripts/checkpatch.pl - --no-tree
|