aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/assert-todos.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-21 05:49:05 -0300
committerEuAndreh <eu@euandre.org>2021-08-21 05:49:05 -0300
commitde2c1beae4690626597b50abdba9feb38a5be5f7 (patch)
tree2f9df5267b7f85436c28f02a7eff036ed8b21f5b /aux/workflow/assert-todos.sh
parentsrc/tests-lib.c: Move testing helper function and share it with other files (diff)
downloadgistatic-de2c1beae4690626597b50abdba9feb38a5be5f7.tar.gz
gistatic-de2c1beae4690626597b50abdba9feb38a5be5f7.tar.xz
aux/: Update
Diffstat (limited to 'aux/workflow/assert-todos.sh')
-rwxr-xr-xaux/workflow/assert-todos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/aux/workflow/assert-todos.sh b/aux/workflow/assert-todos.sh
index c21ebb9..bc4907d 100755
--- a/aux/workflow/assert-todos.sh
+++ b/aux/workflow/assert-todos.sh
@@ -1,7 +1,7 @@
#!/bin/sh
set -eu
-if git grep FIXME | grep -v '^TODOs.md' |
+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."