summaryrefslogtreecommitdiff
path: root/contrib/hooks
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2012-02-27 18:34:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-27 19:01:16 (GMT)
commit64baa4153b836646ecf6885482f4fc46e04a90db (patch)
tree5cd821764cea6acd383ddfe77eb62a3d0a6bdbfc /contrib/hooks
parentc48be8b759725d7c9ce327ac6f32bb572fdc5ce1 (diff)
downloadgit-64baa4153b836646ecf6885482f4fc46e04a90db.zip
git-64baa4153b836646ecf6885482f4fc46e04a90db.tar.gz
git-64baa4153b836646ecf6885482f4fc46e04a90db.tar.bz2
post-receive-email: match up $LOGBEGIN..$LOGEND pairs correctly
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks')
-rwxr-xr-xcontrib/hooks/post-receive-email6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index ac2e0ed..01af9df 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
}