From 5c355059c379a55366bed573d4e65dba4b5a0565 Mon Sep 17 00:00:00 2001 From: Gerrit Pape Date: Thu, 8 Nov 2007 12:11:57 +0000 Subject: [PATCH] contrib/hooks/post-receive-email: remove cruft, $committer is not used Signed-off-by: Gerrit Pape Signed-off-by: Junio C Hamano --- contrib/hooks/post-receive-email | 4 ---- 1 file changed, 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/\(.*\) /dev/null) -- 2.11.4.GIT