git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH/RFC] Restore line limit option in post-receive-email
@ 2011-11-11  6:35 Cheng Leong
  2011-11-11  6:56 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Cheng Leong @ 2011-11-11  6:35 UTC (permalink / raw)
  To: git; +Cc: kpfleming, Cheng Leong

The hooks.emailmaxlines config currently has no effect. Stop
prep_for_email from clobbering the already-initialized maxlines
variable in the contrib/hooks/post-receive-email example.

Signed-off-by: Cheng Leong <leongc@alumni.rice.edu>
---
 contrib/hooks/post-receive-email |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index ba077c1..ac2e0ed 100755
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -85,7 +85,6 @@ prep_for_email()
 	oldrev=$(git rev-parse $1)
 	newrev=$(git rev-parse $2)
 	refname="$3"
-	maxlines=$4
 
 	# --- Interpret
 	# 0000->1234 (create)
-- 
1.7.7.1.msysgit.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-12 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11  6:35 [PATCH/RFC] Restore line limit option in post-receive-email Cheng Leong
2011-11-11  6:56 ` Junio C Hamano
2011-11-11  7:08   ` Cheng Leong
2012-01-12 21:01     ` Cheng Leong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).