git-slack-hook
git-slack-hook copied to clipboard
message garbled with multiple commits in push
my config contains ; in url:
[hooks "slack"]
webhook-url = https://hooks.slack.com/services/
channel = "#git"
repos-root = /srv/git/
changeset-url-pattern = "https://git.local/cgi-bin/gitweb.cgi?p=%repo_path%;a=commitdiff;h=%rev_hash%"
show-full-commit = true
show-only-last-commit = false
username = git
this looks ok if one commit is pushed,
but shows Author Name;;;;;<https://git.local> when multiple commits are pushed.
i.e all but last commit is ok with push with multiple commits
probably related to #15 being not tested with multiple commits
Thanks @glensc, I've added a new PR, if you get time I'd be grateful if you'd take a look.
i'm sorry, i moved on, using gitlab-ce now!
This should be working now that pull request #27 has been merged.