* message.el (message-setup-1): Don't bind the constant -forbidden-properties.
[gnus] / etc / post-receive
index d5fd8aa..aacd6ef 100755 (executable)
@@ -1,17 +1,17 @@
 #!/bin/sh
 
-# 2010-09-01 tzz@lifelogs.com
+# modified: 2010-09-01 and on by tzz@lifelogs.com
 
 # Use the email address of the author of the last commit.
-export USER_EMAIL=$(git log -1 --format=format:%ae HEAD)
-export USER_NAME=$(git log -1 --format=format:%an HEAD)
+export USER_EMAIL=$(git log -1 --format=format:%ce HEAD)
+export USER_NAME=$(git log -1 --format=format:%cn HEAD)
 
 # the remainder is the standard git-core post-receive-email with some changes:
 
 # - USER_EMAIL and USER_NAME are used in the header
 # - the update message is after the diff
 # - without annotations, we use `git log --format=oneline' to generate the change summary (joining multiples with semicolons)
-# - the subject is shorter and prefixed with [gnus git] always
+# - the subject is shorter
 
 # Copyright (c) 2007 Andy Parkins
 #
@@ -214,7 +214,7 @@ generate_email_header()
        cat <<-EOF
        From: ${USER_NAME} <${USER_EMAIL}>
        To: $recipients
-       Subject: [gnus git] $refname_type $short_refname ${change_type}d: $describe
+       Subject: $emailprefix $refname_type $short_refname ${change_type}d: $describe
        X-Git-Refname: $refname
        X-Git-Reftype: $refname_type
        X-Git-Oldrev: $oldrev