#!/bin/sh set -eu # shellcheck disable=2086 if [ -e .git ] && git grep FIXME ${1:-} | grep -v '^TODOs.md:' | grep -v '^aux/workflow/assert-todos.sh:' then echo "Found dangling FIXME markers on the project." >&2 echo "You should write them down properly on TODOs.md." >&2 exit 1 fi td -L