summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Gerrit Pape <pape@smarden.org>2007-11-08 12:11:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-08 14:18:13 -0800
commit5c355059c379a55366bed573d4e65dba4b5a0565 (patch)
tree1d02537a07e14f3a16b5475b6756c88dc8f22fec /contrib
parenthooks--update: decline deleting tags or branches by default, add config options (diff)
downloadtgif-5c355059c379a55366bed573d4e65dba4b5a0565.tar.xz
contrib/hooks/post-receive-email: remove cruft, $committer is not used
Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/hooks/post-receive-email4
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index 3904c182e7..7511ea0797 100644
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -156,10 +156,6 @@ generate_email()
fi
# Email parameters
- # The committer will be obtained from the latest existing rev; so
- # for a deletion it will be the oldrev, for the others, then newrev
- committer=$(git show --pretty=full -s $rev | sed -ne "s/^Commit: //p" |
- sed -ne 's/\(.*\) </"\1" </p')
# The email subject will contain the best description of the ref
# that we can build from the parameters
describe=$(git describe $rev 2>/dev/null)