Files
openpilot/scripts/lint/check_nomerge_comments.sh
Comma Device 3721ecbf8a Release 260111
2026-01-11 18:23:29 +08:00

11 lines
173 B
Bash
Executable File

#!/usr/bin/env bash
FAIL=0
if grep -n '\(#\|//\)\([[:space:]]*\)NOMERGE' $@; then
echo -e "NOMERGE comments found! Remove them before merging\n"
FAIL=1
fi
exit $FAIL