$ git push --set-upstream origin master Counting objects: 2, done. Writing objects: 100% (2/2), 942 bytes | 942.00 KiB/s, done. Total 2 (delta 0), reused 0 (delta 0) remote: fatal: ambiguous argument 'd8690e2d97c90c289d0900c5c284829e2fad1b6e~1..d8690e2d97c90c289d0900c5c284829e2fad1b6e': unknown revision or path not in the working tree. remote: Use '--' to separate paths from revisions, like this: remote: 'git <command> [<revision>...] -- [<file>...]' remote: Traceback (most recent call last): remote: File "hooks/post-receive.h02-notify-webhook", line 308, in <module> remote: data = make_json(old, new, ref) remote: File "hooks/post-receive.h02-notify-webhook", line 261, in make_json remote: data['head_commit'] = get_revisions(old, new, True) remote: File "hooks/post-receive.h02-notify-webhook", line 122, in get_revisions remote: props = {'id': lines[0].strip().split(' ')[1], 'added': [], 'removed': [], 'modified': []} remote: IndexError: list index out of range To git+ssh://git.gentoo.org/infra/[redacted].git * [new branch] master -> master Branch master set up to track remote branch master from origin.
Fixed https://github.com/metajack/notify-webhook/issues/18