loopnet-v0.3-preview / scripts /prepare-commit-msg
KanakMalpani's picture
Upload folder using huggingface_hub
d5b51d5 verified
Raw
History Blame Contribute Delete
223 Bytes
#!/bin/sh
# Strip Cursor agent co-author trailers from commit messages.
MSG_FILE="$1"
if [ -f "$MSG_FILE" ]; then
grep -v 'cursoragent@cursor.com' "$MSG_FILE" > "$MSG_FILE.tmp" && mv "$MSG_FILE.tmp" "$MSG_FILE"
fi
exit 0