X-Git-Url: https://snippets.scripts.mit.edu/gitweb.cgi/Scripts/git/.git/blobdiff_plain/b0d563fed0b7a760dfea9ce1cbb05b61f0e84c2b..210a5c8a6872fc6af12d78510ce07ab95d0df745:/git-hooks/zephyr-post-receive diff --git a/git-hooks/zephyr-post-receive b/git-hooks/zephyr-post-receive index 38f211e..a929432 100755 --- a/git-hooks/zephyr-post-receive +++ b/git-hooks/zephyr-post-receive @@ -39,8 +39,8 @@ fi while read oldrev newrev refname; do if [ "$oldrev" = "0000000000000000000000000000000000000000" ]; then # dammit git - zwrite -c "$class" -i "$(basename "$refname")" -s "$zsig: $refname" -d \ - -m "New branch created." + zwrite -c "$class" -i "${instance:-$(basename "$refname")}" -s "$zsig: $refname" -d \ + -m "New branch $refname created, currently at $newrev." continue fi git rev-list --first-parent --reverse "$oldrev..$newrev" | while read rev; do