Logo
Explore Help
Sign In
linuxmsm/openocd
0
0
Fork 0
You've already forked openocd
mirror of https://github.com/linux-msm/openocd.git synced 2026-02-25 13:15:07 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
6f87df80fe98c18c8cb0e2dfdffa074392d6f2d5
openocd/tools/checkpatch.sh

6 lines
109 B
Bash
Raw Normal View History

tools: add checkpatch script 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
2011-11-03 23:33:37 +00:00
#!/bin/sh
#
make checkpatch.sh take an optional 'since' refspec Change-Id: I793778037db08bd5462f61b9bcafd484708cc1b6 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/250 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2011-12-01 21:25:43 +01:00
since=${1:-HEAD^}
git format-patch -M --stdout $since | tools/scripts/checkpatch.pl - --no-tree
Reference in New Issue Copy Permalink
Powered by Gitea Page: 90ms Template: 4ms
English
English
Licenses API