summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2007-11-08 13:11:57 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-08 23:18:13 +0100
commit5c355059c379a55366bed573d4e65dba4b5a0565 (patch)
tree1d02537a07e14f3a16b5475b6756c88dc8f22fec
parenthooks--update: decline deleting tags or branches by default, add config options (diff)
downloadgit-5c355059c379a55366bed573d4e65dba4b5a0565.tar.xz
git-5c355059c379a55366bed573d4e65dba4b5a0565.zip
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>
-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)