mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 15:10:34 +01:00
b1e4e6048a
Release Notes: - N/A
15 lines
400 B
Bash
Executable File
15 lines
400 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Brackets are used around characters so these don't show up in normal search.
|
|
pattern='tod[o]!|FIXM[E]'
|
|
result=$(git grep --no-color --ignore-case --line-number --extended-regexp -e $pattern -- \
|
|
':(exclude).github/workflows/ci.yml' \
|
|
':(exclude)*criteria.md' \
|
|
':(exclude)*prompt.md' || true)
|
|
echo "${result}"
|
|
if [[ -n "${result}" ]]; then
|
|
exit 1
|
|
fi
|