diff options
author | Gerrit Pape <pape@smarden.org> | 2007-11-08 15:11:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-09 01:18:13 +0300 |
commit | 5c355059c379a55366bed573d4e65dba4b5a0565 (patch) | |
tree | 1d02537a07e14f3a16b5475b6756c88dc8f22fec /contrib/hooks | |
parent | ad7638b2edbad05d5f5581ec76d49094d8ba9237 (diff) |
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/hooks')
-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 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) |