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

message garbled with multiple commits in push

Open glensc opened this issue 9 years ago • 3 comments

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

glensc avatar Feb 23 '16 07:02 glensc

Thanks @glensc, I've added a new PR, if you get time I'd be grateful if you'd take a look.

legecha avatar Mar 29 '16 13:03 legecha

i'm sorry, i moved on, using gitlab-ce now!

glensc avatar Mar 29 '16 14:03 glensc

This should be working now that pull request #27 has been merged.

jjweston avatar Aug 08 '16 22:08 jjweston