git-ls-files: Fix, document, and add test for --error-unmatch option.