diff options
author | Gerrit Pape <pape@smarden.org> | 2007-11-08 12:11:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-08 14:18:13 -0800 |
commit | 5c355059c379a55366bed573d4e65dba4b5a0565 (patch) | |
tree | 1d02537a07e14f3a16b5475b6756c88dc8f22fec | |
parent | ad7638b2edbad05d5f5581ec76d49094d8ba9237 (diff) | |
download | git-5c355059c379a55366bed573d4e65dba4b5a0565.tar.gz git-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>
-rw-r--r-- | contrib/hooks/post-receive-email | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email index 3904c182e..7511ea079 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) |