Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
contrib/hooks/post-receive-email: remove cruft, $committer is not used
author
Gerrit Pape
<pape@smarden.org>
Thu, 8 Nov 2007 12:11:57 +0000
(12:11 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 8 Nov 2007 22:18:13 +0000
(14:18 -0800)
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ad7638b
)
diff --git
a/contrib/hooks/post-receive-email
b/contrib/hooks/post-receive-email
index 3904c182e76e6db25ff6531a0ac41e3b2c0e68ca..7511ea0797286453051c15765c4b795ac577cc0d 100644
(file)
--- 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)