projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make checkpatch.sh take an optional 'since' refspec
[fw/openocd]
/
tools
/
checkpatch.sh
diff --git
a/tools/checkpatch.sh
b/tools/checkpatch.sh
index 33b6dfc1734ee6e18ef0bf7b832971af1cd914f4..e1dd267f9770b6f3eda0ed3c801a4778a9b929f8 100755
(executable)
--- a/
tools/checkpatch.sh
+++ b/
tools/checkpatch.sh
@@
-1,4
+1,5
@@
#!/bin/sh
#
#!/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