J Bolla wrote:Thanks Tim !
The log message that I entered for the commit was invalid. So the hook wouldnt let me commit.
Yup, that's the kind of things hooks are supposed to enforce. I think that you probably SHOULD have gotten back an actual usable error message, though. Something like "Commit rejected, comment does not conform to shop standards.",
which is why I said there's probably a bug in the hook routine.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.