summaryrefslogtreecommitdiff
path: root/contrib/hooks
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2012-02-27 18:34:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-27 19:01:15 (GMT)
commitc48be8b759725d7c9ce327ac6f32bb572fdc5ce1 (patch)
tree285abb49390e5008cfc495903be5a9377b6516cb /contrib/hooks
parent62ed0728fe52312f270760187b3280bc51b6c2f0 (diff)
downloadgit-c48be8b759725d7c9ce327ac6f32bb572fdc5ce1.zip
git-c48be8b759725d7c9ce327ac6f32bb572fdc5ce1.tar.gz
git-c48be8b759725d7c9ce327ac6f32bb572fdc5ce1.tar.bz2
post-receive-email: remove unused variable
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>
Diffstat (limited to 'contrib/hooks')
-rwxr-xr-xcontrib/hooks/post-receive-email1
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)