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:44 UTC
Message-ID
<43C13369.4090809@op5.se>
In-Reply-To
<20060108173736.199df297.tihirvon@gmail.com>
Timo Hirvonen wrote:
Show 21 quoted lines
> On Sun, 08 Jan 2006 16:21:13 +0100
> Andreas Ericsson <ae@op5.se> wrote:
> 
> 
>>Timo Hirvonen wrote:
>>
>>>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.
> 
> 
> So fixing Sylpheed (and maybe other email clients too) is the right
> solution...
> 

Nopes. In this case fixing my home-hacked git-send-patch script is the right thing to do. git-format-patch has always printed that format, though, so the error lies with me and the patch I sent. I shall have to re-visit it after reading rfc 822 a bit more closely.

Show 10 quoted lines
> 
>>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.
> 
> 
> Sorry.  I replied to your message because it was the message having Date
> header in the "%s %z" format.
> 
I just noticed. Thanks, and sorry.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Timo HirvonenNext: H. Peter Anvin
Message 5 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.