author | Andy Parkins <andyparkins@gmail.com> | |
Fri, 28 Sep 2007 14:24:26 +0000 (15:24 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Oct 2007 08:59:22 +0000 (01:59 -0700) | ||
commit | e6dc8d60fbd2c84900a26545c5d360b0e202d95b | |
tree | a2e309b5c80656e19ca87c2d8e91aa64ba90006e | tree | snapshot |
parent | f4bb20cc99fe18ba0e7dd421f1d95a05c1cbbc93 | commit | diff |
post-receive-hook: Remove the From field from the generated email header so that the pusher's name is used
Using the name of the committer of the revision at the tip of the
updated ref is not sensible. That information is available in the email
itself should it be wanted, and by supplying a "From", we were
effectively hiding the person who performed the push - which is useful
information in itself.
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Using the name of the committer of the revision at the tip of the
updated ref is not sensible. That information is available in the email
itself should it be wanted, and by supplying a "From", we were
effectively hiding the person who performed the push - which is useful
information in itself.
Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email | diff | blob | history |