Code

git-send-email: do not pass custom Date: header
authorEric Wong <normalperson@yhbt.net>
Mon, 23 Oct 2006 07:46:37 +0000 (00:46 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 23 Oct 2006 08:12:04 +0000 (01:12 -0700)
commit1d6a003a42b3c23ad7883b0bbe6a034728e51836
treeb9f93bead6925426430cae83bbd20e6bcca619e3
parent178e015c0543b581a40adbf4822f44fa592ff68b
git-send-email: do not pass custom Date: header

We already generate a Date: header based on when the patch was
emailed.  git-format-patch includes the Date: header of the
patch.  Having two Date: headers is just confusing, so we
just use the current Date:

Often the mailed patches in a patch series are created over a
series of several hours or days, so the Date: header from the
original commit is incorrect for email, and often far off enough
for spam filters to complain.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email.perl