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

'git format-patch' on older commits, and mailinglist

From
Marius Storm-Olsen <marius@trolltech.com>
Date
Jun 10, 2008, 10:09 UTC
Message-ID
<484E52DE.1070100@trolltech.com>
Hi,
Recently, I sent out patches which were fixed up with --amend on older 
commits. When I sent them out, the patches contained
     Date: <more than 2 days old datestamp>
in the headers. Now, sending these mails is fine, and mail clients 
generally handles it perfectly fine. However, after doing this I got 
an email from postmaster@vger.kernel.org, basically telling me to not 
do this, since they get a lot of bounces where the return is marked with
     Diagnostic Code: smtp; 550 (4.5 DATE_IN_PAST_48_96 Date: is 48 to 
96 hours before Received: date)

This is understandable. The question is, do we fix the tools to handle this, so that emails are always generated with now() date, and the commit content contains a tag for the original commit; or do we simply say, always send patches to the mailing list with a current timestamp?

Maybe my workflow is incorrect too. I don't mind pointers on this.

I guess rebasing before generating the patch series would have fixed this, but I really didn't need to. I simply reset HEAD~2, fixed with --amend, then cherry-picked the other on top again; then created the patch series.

-- 
.marius
- simply wondering what others on the git mailinglist do..
Next: Junio C Hamano
Message 1 of 2 in “'git format-patch' on older commits, and mailinglist”
  1. Marius Storm-OlsenJun 10, 2008
  2. Junio C HamanoJun 10, 2008

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.