Code

post-receive-email: remove unused variable
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 27 Feb 2012 18:34:09 +0000 (19:34 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2012 19:01:15 +0000 (11:01 -0800)
prep_for_email neither is passed a fourth argument nor uses it.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email

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