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>
This commit is contained in:
parent
330b0d68c2
commit
122509a0dc
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
|
||||
git format-patch -M --stdout HEAD^ | tools/scripts/checkpatch.pl - --no-tree
|
||||
since=${1:-HEAD^}
|
||||
git format-patch -M --stdout $since | tools/scripts/checkpatch.pl - --no-tree
|
||||
|
|
Loading…
Reference in New Issue