tools/checkpatch.sh: remove flag --no-tree
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 10 Apr 2019 10:46:54 +0000 (12:46 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Tue, 21 Apr 2020 09:51:36 +0000 (10:51 +0100)
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
tools/checkpatch.sh

index e1dd267f9770b6f3eda0ed3c801a4778a9b929f8..0a630a248355e7d3453fb4c6e2f6828179d108d0 100755 (executable)
@@ -2,4 +2,4 @@
 #
 
 since=${1:-HEAD^}
-git format-patch -M --stdout $since | tools/scripts/checkpatch.pl - --no-tree
+git format-patch -M --stdout $since | tools/scripts/checkpatch.pl -