#!/bin/sh
# Strips Cursor's automatic co-author trailer from commit messages.
# Enable once: git config core.hooksPath .githooks
grep -v '^Co-authored-by: Cursor <cursoragent@cursor.com>$' "$1" >"$1.tmp" && mv "$1.tmp" "$1"
