From: Michael Haggerty Date: Mon, 27 Feb 2012 18:34:10 +0000 (+0100) Subject: post-receive-email: match up $LOGBEGIN..$LOGEND pairs correctly X-Git-Tag: v1.7.9.3~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=64baa4153b836646ecf6885482f4fc46e04a90db;p=git.git post-receive-email: match up $LOGBEGIN..$LOGEND pairs correctly Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano --- diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email index ac2e0ed31..01af9df15 100755 --- a/contrib/hooks/post-receive-email +++ b/contrib/hooks/post-receive-email @@ -460,7 +460,7 @@ generate_delete_branch_email() { echo " was $oldrev" echo "" - echo $LOGEND + echo $LOGBEGIN git show -s --pretty=oneline $oldrev echo $LOGEND } @@ -560,7 +560,7 @@ generate_delete_atag_email() { echo " was $oldrev" echo "" - echo $LOGEND + echo $LOGBEGIN git show -s --pretty=oneline $oldrev echo $LOGEND } @@ -625,7 +625,7 @@ generate_delete_general_email() { echo " was $oldrev" echo "" - echo $LOGEND + echo $LOGBEGIN git show -s --pretty=oneline $oldrev echo $LOGEND }