diff options
author | EuAndreh <eu@euandre.org> | 2021-09-01 11:18:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-01 11:18:01 -0300 |
commit | 692185136a6d7e96660b90370759d1f83a05ec4c (patch) | |
tree | 34852b497fd9054ab55ff27045efd4a19dd9f331 /aux/workflow/assert-todos.sh | |
parent | src/remembering.c: Enforce C style (diff) | |
download | remembering-692185136a6d7e96660b90370759d1f83a05ec4c.tar.gz remembering-692185136a6d7e96660b90370759d1f83a05ec4c.tar.xz |
aux/: Update
Diffstat (limited to 'aux/workflow/assert-todos.sh')
-rwxr-xr-x | aux/workflow/assert-todos.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aux/workflow/assert-todos.sh b/aux/workflow/assert-todos.sh index dfa1ab7..bc4907d 100755 --- a/aux/workflow/assert-todos.sh +++ b/aux/workflow/assert-todos.sh @@ -1,7 +1,8 @@ #!/bin/sh set -eu -if git grep FIXME | grep -v '^TODOs.md' | grep -v '^aux/workflow/assert-todos.sh'; then +if [ -e .git ] && git grep FIXME | grep -v '^TODOs.md' | + grep -v '^aux/workflow/assert-todos.sh'; then echo "Found dangling FIXME markers on the project." echo "You should write them down properly on TODOs.md." exit 1 |