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
d46f28c2ea2611f5fbbc679a5eed253d3dcd2fe3
openocd/tools/checkpatch.sh

6 lines
99 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^}
tools/checkpatch.sh: remove flag --no-tree Commit c5d89883165e02ea4f318e3cb0ba40d1fb6f04d1 ("checkpatch.pl: check for openocd tree, not for kernel tree") has already fixed the check for OpenOCD tree, thus we do not need to skip it in the shell wrapper. Remove flag --no-tree from the shell wrapper. Change-Id: I8be497258624d89bde7742fee141a8f56bf9188e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5110 Tested-by: jenkins
2019-04-10 12:46:54 +02:00
git format-patch -M --stdout $since | tools/scripts/checkpatch.pl -
Reference in New Issue Copy Permalink
Powered by Gitea Page: 103ms Template: 4ms
English
English
Licenses API