projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flash/nor/at91samd: Use 32-bit register writes for ST-Link compat
[fw/openocd]
/
tools
/
checkpatch.sh
diff --git
a/tools/checkpatch.sh
b/tools/checkpatch.sh
index 0a630a248355e7d3453fb4c6e2f6828179d108d0..7375fc2b6d00bf3147fa734e208ce91d0fb1380a 100755
(executable)
--- a/
tools/checkpatch.sh
+++ b/
tools/checkpatch.sh
@@
-1,5
+1,5
@@
#!/bin/sh
-#
+#
SPDX-License-Identifier: GPL-2.0-or-later
since=${1:-HEAD^}
-git format-patch -M --stdout $since | tools/scripts/checkpatch.pl -
+tools/scripts/checkpatch.pl --git ${since}..