@matheusbsbs / matheus-bagliano / commits / 5c355059c3
Fork 0

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>

Gerrit Pape committed Nov 8, 2007 at 12:11 UTC 5c355059c379a55366bed573d4e65dba4b5a0565
1 file changed -4
contrib/hooks/post-receive-email
-4
@@ -156,10 +156,6 @@ generate_email()
156 fi
157
158 # Email parameters
159 - # The committer will be obtained from the latest existing rev; so
160 - # for a deletion it will be the oldrev, for the others, then newrev
161 - committer=$(git show --pretty=full -s $rev | sed -ne "s/^Commit: //p" |
162 - sed -ne 's/\(.*\) </"\1" </p')
159 # The email subject will contain the best description of the ref
160 # that we can build from the parameters
161 describe=$(git describe $rev 2>/dev/null)