git-hipchat-hook icon indicating copy to clipboard operation
git-hipchat-hook copied to clipboard

No commit messages are coming through?

Open brightball opened this issue 12 years ago • 2 comments

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?

brightball avatar Jun 18 '13 20:06 brightball

Looks like the script can't get the hook arguments from STDIN. Maybe you're calling another script first that already drains STDIN?

geewiz avatar Sep 17 '13 15:09 geewiz

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.

peterlozano avatar Dec 13 '13 14:12 peterlozano