Robert Boone <robert@xxxxxxxxxx> writes: > Yes, the file was called test.txt and add a line to that file. Then I > tried to git commit -a without adding the file first. > > Yes it is a version of ash not sure which. > I changed to bash 3.2.17(2)-release and got: > /usr/local/bin/git-commit: line 577: /usr/local/test/.git/hooks/ > commit-msg: Permission denied > Then ran: > chmod +x /usr/local/cpanel/.git/hooks/pre-commit > chmod +x /usr/local/cpanel/.git/hooks/commit-msg > chmod +x /usr/local/cpanel/.git/hooks/post-commit > > Then it worked as expected. I'm not sure why those hooks weren't made > executable after git init.. The sample hooks are disabled by default, and line 577 should not have complained it was _unexecutable_. It should instead just have ignored them. There was something else that was wrong with your installation. - 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