-- changed error message for git diff head