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

Re: git-format-patch Date header

From
Andreas Ericsson <ae@op5.se>
Date
Jan 8, 2006, 15:21 UTC
Message-ID
<43C12DE9.8010906@op5.se>
In-Reply-To
<20060108164038.89e4439f.tihirvon@gmail.com>
Timo Hirvonen wrote:
Show 6 quoted lines
> git-format-patch uses "date '+%s %z'" format for the Date header.
> Sylpheed does not understand this format.  How common this convention
> is?  Should we change git-format-patch to use more standard date format?
> 
> OTOH, I like the %s format because it is so simple and easy to parse :)
> 

Actually, that's what's printed in the commit message, so any change would have to be put there and that would break backwards compatibility for new tools that might want to use it.

On an unrelated note, please don't start a new thread by replying to an old message. It's very confusing to follow and people may not see your message. This time it was doubly so because the next mail in my inbox is a patch for git-format-patch, to which I thought you replied.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Timo HirvonenNext: Timo Hirvonen
Message 3 of 8 in “.gitignore git-describe”
  1. .gitignore git-describeAndreas Ericsson, Jan 8, 2006
  2. git-format-patch Date headerTimo Hirvonen, Jan 8, 2006
  3. Andreas EricssonJan 8, 2006
  4. Timo HirvonenJan 8, 2006
  5. Andreas EricssonJan 8, 2006
  6. H. Peter AnvinJan 8, 2006
  7. Andreas EricssonJan 8, 2006
  8. Linus TorvaldsJan 9, 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.