git-hipchat-hook
git-hipchat-hook copied to clipboard
No commit messages are coming through?
We just tried setting this up and the only message we ever see are:
GIT
1:13 PM
-e John Doe pushed to branch of theapp.git
Any ideas?
Looks like the script can't get the hook arguments from STDIN. Maybe you're calling another script first that already drains STDIN?
I think the -e option is implicit when echo is used inside scripts (as opposed to directly in the command line). I've removed it from all echo commands in the hook and it is working perfectly. I've tried commit messages with special chars and they are treated like the -e option was been used.