Code

post-receive-email: match up $LOGBEGIN..$LOGEND pairs correctly
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 27 Feb 2012 18:34:10 +0000 (19:34 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2012 19:01:16 +0000 (11:01 -0800)
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email

index ac2e0ed31bf418c043217f9a81bbe22efcc348c7..01af9df15e180288723caadf42b500fe78a8c694 100755 (executable)
@@ -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
 }