Fix asterix wildcard

This commit is contained in:
Sage 2026-01-20 15:13:12 +00:00
parent da692f477c
commit 893327f91b

View file

@ -75,7 +75,7 @@ EOF
)
for file in "${IGNORES[@]}"; do
if ! grep -q "^$file$" "$EXCLUDE_FILE"; then
if ! grep -Fxq "$file" "$EXCLUDE_FILE" 2>/dev/null; then
echo "$file" >>"$EXCLUDE_FILE"
echo "Added $file to local git exclude ($EXCLUDE_FILE)"
fi