mips: optimize write code for speed
[fw/openocd] / tools / checkpatch.sh
old mode 100644 (file)
new mode 100755 (executable)
index 33b6dfc..e1dd267
@@ -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