mirror of https://github.com/garrytan/gstack.git
/careful hook was triggering on patterns inside git commit -m messages, echo arguments, and other text-output commands — even though those strings are not executed as destructive operations. Split command on shell operators (&&, ||, ;) and skip segments that are purely text-output commands (git commit -m, echo, printf, cat). Only check the remaining executable segments for destructive patterns. Fixes #1060. |
||
|---|---|---|
| .. | ||
| bin | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||