summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-26 09:20:57 +1000
committerteor <teor@torproject.org>2019-12-20 09:35:18 +1000
commitac3a9aaf0dc6f376368f1ad51c79e332da52adc2 (patch)
tree1ea1dcb3cc143ef088e240d3b8c50c52d06e01fe /scripts/coccinelle
parenta6ba56761b6dc22011eee015f371d37d7b399a64 (diff)
downloadtor-ac3a9aaf0dc6f376368f1ad51c79e332da52adc2.tar.gz
tor-ac3a9aaf0dc6f376368f1ad51c79e332da52adc2.zip
Makefile/git scripts: Add comments to keep owned file lists in sync
Diffstat (limited to 'scripts/coccinelle')
-rwxr-xr-xscripts/coccinelle/check_cocci_parse.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/coccinelle/check_cocci_parse.sh b/scripts/coccinelle/check_cocci_parse.sh
index aebfac70f2..aaa586c093 100755
--- a/scripts/coccinelle/check_cocci_parse.sh
+++ b/scripts/coccinelle/check_cocci_parse.sh
@@ -73,6 +73,10 @@ if test $# -ge 1 ; then
else
cd "$top" || exit 1
# This is the layout in 0.3.5
+ # Keep these lists consistent:
+ # - OWNED_TOR_C_FILES in Makefile.am
+ # - CHECK_FILES in pre-commit.git-hook and pre-push.git-hook
+ # - try_parse in check_cocci_parse.sh
"$try_parse" \
src/lib/*/*.[ch] \
src/core/*/*.[ch] \