git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] post-receive-email: match up $LOGBEGIN..$LOGEND pairs correctly

From
mhagger@alum.mit.edu <mhagger@alum.mit.edu>
Date
Feb 27, 2012, 18:34 UTC
Message-ID
<1330367650-23091-3-git-send-email-mhagger@alum.mit.edu>
In-Reply-To
<1330367650-23091-1-git-send-email-mhagger@alum.mit.edu>
From: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
---
 contrib/hooks/post-receive-email |    6 +++---
 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
 }
-- 
1.7.9
Previous: mhagger@alum.mit.eduNext: Junio C Hamano
Message 3 of 4 in “Trivial cleanups in the post-receive-email script”
  1. 0/2 Trivial cleanups in the post-receive-email scriptmhagger@alum.mit.edu, Feb 27, 2012
  2. 1/2 post-receive-email: remove unused variablemhagger@alum.mit.edu, Feb 27, 2012
  3. 2/2 post-receive-email: match up $LOGBEGIN..$LOGEND pairs correctlymhagger@alum.mit.edu, Feb 27, 2012
  4. Junio C HamanoFeb 27, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.