about summary refs log tree commit diff
path: root/third_party/git/ci/run-static-analysis.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/ci/run-static-analysis.sh')
-rwxr-xr-xthird_party/git/ci/run-static-analysis.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/third_party/git/ci/run-static-analysis.sh b/third_party/git/ci/run-static-analysis.sh
deleted file mode 100755
index 65bcebda41a0..000000000000
--- a/third_party/git/ci/run-static-analysis.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-#
-# Perform various static code analysis checks
-#
-
-. ${0%/*}/lib.sh
-
-make coccicheck
-
-set +x
-
-fail=
-for cocci_patch in contrib/coccinelle/*.patch
-do
-	if test -s "$cocci_patch"
-	then
-		echo "$(tput setaf 1)Coccinelle suggests the following changes in '$cocci_patch':$(tput sgr0)"
-		cat "$cocci_patch"
-		fail=UnfortunatelyYes
-	fi
-done
-
-if test -n "$fail"
-then
-	echo "$(tput setaf 1)error: Coccinelle suggested some changes$(tput sgr0)"
-	exit 1
-fi
-
-make hdr-check ||
-exit 1
-
-save_good_tree