This website works better with JavaScript.
Home
Help
Register
Sign In
jim
/
openocd
Watch
0
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
26
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9234
Commits
9
Branches
43 MiB
Tree:
bb8d8952e1
cc2538-riot
jim
jim-debug
jim-nrf5-free
jim-nuttx
jim-openocd10
jim-rtt
master
rtt
v0.10.0
v0.10.0-rc2
v0.10.0-rc1
v0.9.0
v0.9.0-rc1
v0.8.0
v0.8.0-rc2
v0.8.0-rc1
v0.7.0
v0.7.0-rc2
v0.7.0-rc1
v0.6.1
v0.6.0
v0.6.0-rc2
v0.6.0-rc1
v0.5.0
v0.5.0-rc2
v0.5.0-rc1
v0.4.0
v0.4.0-rc2
v0.4.0-rc1
v0.3.1
v0.3.0
v0.3.0-rc0
v0.2.0
v0.1.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from 'bb8d8952e1'
${ noResults }
openocd
/
tools
/
checkpatch.sh
checkpatch.sh
99 B
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
12 years ago
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>
12 years ago
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
5 years ago
1
2
3
4
5
#!/bin/sh
#
since=${1:-HEAD^}
git format-patch -M --stdout $since | tools/scripts/checkpatch.pl -