From: Baris Metin Date: Wed, 9 Jun 2010 22:09:04 +0000 (+0200) Subject: cleanup git commit emails X-Git-Tag: foo~118^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8c5f52b0f00c6d33a2b5d0e9c7975c8878e579a9;p=infrastructure.git cleanup git commit emails --- diff --git a/scripts/post-receive-email-with-diffs b/scripts/post-receive-email-with-diffs index 5462cda..3a437a7 100755 --- a/scripts/post-receive-email-with-diffs +++ b/scripts/post-receive-email-with-diffs @@ -192,11 +192,7 @@ generate_email_header() X-Git-Oldrev: $oldrev X-Git-Newrev: $newrev - This is an automated email from the git hooks/post-receive script. It was - generated because a ref change was pushed to the repository containing - the project "$projectdesc". - - The $refname_type, $short_refname has been ${change_type}d + On $projectdesc, the $refname_type, $short_refname has been ${change_type}d EOF } @@ -383,10 +379,6 @@ generate_update_branch_email() echo "" if [ -z "$rewind_only" ]; then - echo "Those revisions listed above that are new to this repository have" - echo "not appeared on any other notification email; so we list those" - echo "revisions in full, below." - echo "" echo $LOGBEGIN git rev-parse --not --branches | grep -v $(git rev-parse $refname) | @@ -605,7 +597,7 @@ send_mail() # ---------------------------- main() # --- Constants -LOGBEGIN="- Log -----------------------------------------------------------------" +LOGBEGIN="-----------------------------------------------------------------------" LOGEND="-----------------------------------------------------------------------" # --- Config