From: Michael Haggerty Date: Mon, 27 Feb 2012 18:34:09 +0000 (+0100) Subject: post-receive-email: remove unused variable X-Git-Tag: v1.7.9.3~26 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c48be8b759725d7c9ce327ac6f32bb572fdc5ce1;p=git.git post-receive-email: remove unused variable prep_for_email neither is passed a fourth argument nor uses it. 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 ba077c13f..ac2e0ed31 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)