Update pre-commit hook to find checkIncludes in its new location

Also add a temporary script to redirect the hook, if people don't
upgrade for a bit.
This commit is contained in:
Nick Mathewson
2019-08-05 14:11:51 -04:00
parent 6fb74753c2
commit 9abbde2c24
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ elif [ -d src/common ]; then
src/tools/*.[ch]
fi
if test -e scripts/maint/checkIncludes.py; then
python scripts/maint/checkIncludes.py
if test -e scripts/maint/practracker/includes.py; then
python scripts/maint/practracker/includes.py
fi
if [ -e scripts/maint/practracker/practracker.py ]; then