When using the interpreter-exclusive git command, quoted args are split on spaces, instead of being preserved.
Expectation:
git commit -am "chore: update example password"
(expands to ["git" "commit" "-am" "chore: update example password"])
[some_branch a1b2c3d] chore: Update Example Password
base/example/password +- 1
Reality:
git commit -am "chore: update example password"
(expands to ["git" "commit" "-am" "chore:" "update" "example" "password"])
fatal: paths 'update ...' with -a does not make sense
When using the interpreter-exclusive
gitcommand, quoted args are split on spaces, instead of being preserved.Expectation:
git commit -am "chore: update example password"(expands to ["git" "commit" "-am" "chore: update example password"])
[some_branch a1b2c3d] chore: Update Example Passwordbase/example/password +- 1Reality:
git commit -am "chore: update example password"(expands to ["git" "commit" "-am" "chore:" "update" "example" "password"])
fatal: paths 'update ...' with -a does not make sense