git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-send-email: do not pass custom Date: header

From
EWEric Wong <normalperson@yhbt.net>
Date
Oct 23, 2006, 09:38 UTC
Message-ID
<20061023093824.GB8749@localdomain>
In-Reply-To
<ehhv6g$4js$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> wrote:
Show 14 quoted lines
> Eric Wong wrote:
> 
> > 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.
> 
> But that makes us lose original commit date. And git format-patch
> is if I remember correctly together with git-am used in git-rebase.

This patch is for git-send-email, and only affects the way they are sent over SMTP. Output of git-format-patch is unchanged.

-- 
Eric Wong
Previous: Jakub NarebskiNext: Junio C Hamano
Message 3 of 4 in “git-send-email: do not pass custom Date: header”
  1. git-send-email: do not pass custom Date: headerEric Wong, Oct 23, 2006
  2. Jakub NarebskiOct 23, 2006
  3. Eric WongOct 23, 2006
  4. Junio C HamanoOct 24, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.