Andreas Ericsson <ae@xxxxxx> writes: > Robert Boone wrote: >> On FreeBSD 5.5 if you use git commit -a you get this error: >> >> [root@robert /usr/local/test (testing)]# git commit -a >> error: pathspec '-a' did not match any file(s) known to git. >> Did you forget to 'git add'? >> > > What does 'git --version' tell you? Valid question, but I suspect this does not have much to do with our recent changes. I recall somebody (sorry I do not remember who, but it was one of the regulars in the community --- you know who you are, and I'd appreciate a correction if what I am going to say here is incorrect) had encountered this issue either here on the list or #git channel and it turned out that the parameter parsing loop: while case $# in 0) break ;; esac do case "$1" in ... -a) all=t shift ;; ... esac done was not parsing -a away with his buggy shell. Also when he inserted a useless reference to $1 or $@ or $# (I do not recall which one exactly) before the loop is entered, the faulty shell started behaving correctly. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html